parameters: (self, n)
return_statement: return [i >> 1 ^ i for i in xrange(1 << n)]
docstring: :type n: int
          :rtype: List[int]
docstring_summary: :type n: int
          :rtype: List[int]
docstring_tokens: : type n : int : rtype : List [ int ]
function: def grayCode(self, n):
          """
          :type n: int
          :rtype: List[int]
          """
          return [i >> 1 ^ i for i in xrange(1 << n)]
function_tokens: def grayCode ( self , n ) : return [ i >> 1 ^ i for i in xrange ( 1 << n ) ]