Module Expr Str ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad GeneratorExp BoolOpAnd CompareIn BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr BoolOpOr CompareNotEq BinOpSub NameLoad NameLoad NameLoad CompareGt SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore BinOpSub NameLoad NameLoad If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr BoolOpOr CompareNotEq NameLoad NameLoad CompareGt SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body Return NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Premium Question
 collections defaultdict N/A __author__ Daniel TwoSum N/A object N/A __init__ N/A N/A self N/A N/A N/A 
        initialize your data structure here
         N/A N/A self hash_map N/A defaultdict int N/A add N/A N/A self number N/A N/A N/A 
        Add the number to an internal data structure.
        :rtype: nothing
         N/A N/A N/A self hash_map N/A number 1 N/A find N/A N/A self value N/A N/A N/A 
        Find if there exists any pair of numbers which sum is equal to the value.
        :type value: int
        :rtype: bool
         N/A N/A any N/A N/A N/A N/A value k N/A self hash_map N/A N/A N/A value k k N/A N/A N/A self hash_map N/A k 1 N/A k N/A self hash_map N/A find_TLE N/A N/A self value N/A N/A N/A 
        Find if there exists any pair of numbers which sum is equal to the value.
        :type value: int
        :rtype: bool
         N/A k N/A N/A N/A self hash_map keys N/A N/A target N/A value k N/A N/A N/A target N/A self hash_map N/A N/A target k N/A N/A N/A self hash_map N/A target 1 N/A N/A True N/A False N/A N/A