parameters: (self, n)
docstring: :type n: int
docstring_summary: :type n: int
docstring_tokens: : type n : int
function: def __init__(self, n):
          """
          :type n: int
          """
          self.__bit = BIT(n)
          self.__lookup = {i:i+1 for i in xrange(n)}
          self.__curr = n
function_tokens: def __init__ ( self , n ) : self . __bit = BIT ( n ) self . __lookup = { i : i + 1 for i in xrange ( n ) } self . __curr = n