Module ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad While Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr While BoolOpAnd NameLoad CompareIs NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr decorator_list Assign NameStore Lambda arguments args NameParam defaults AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Lambda arguments args NameParam defaults AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore ListLoad While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp CompareLt NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body If BoolOpAnd NameLoad BoolOpOr UnaryOpNot NameLoad CompareLt Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad NameLoad NameLoad NameLoad orelse If BoolOpAnd NameLoad BoolOpOr UnaryOpNot NameLoad CompareLtE Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr While Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr While NameLoad body If CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad body Break orelse Assign NameStore NameLoad Assign NameStore IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list Assign NameStore ListLoad While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp CompareLt NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults IfExp NameLoad Call NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Num Assign NameStore Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore ListLoad AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore Call NameLoad BinOpSub NameLoad Num body If CompareLt Call NameLoad NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A Solution N/A object N/A closestKValues N/A N/A self root target k N/A N/A N/A 
        :type root: TreeNode
        :type target: float
        :type k: int
        :rtype: List[int]
         nextNode N/A N/A stack child1 child2 N/A N/A N/A stack N/A N/A N/A child2 stack N/A N/A N/A N/A stack append N/A child2 stack N/A N/A child1 stack N/A N/A N/A N/A stack append N/A child1 stack N/A N/A child N/A N/A stack pop N/A N/A stack N/A child N/A child2 stack N/A N/A child N/A N/A stack pop N/A N/A backward N/A N/A N/A stack N/A N/A N/A stack N/A -1 left N/A forward N/A N/A N/A stack N/A N/A N/A stack N/A -1 right N/A stack N/A N/A root N/A N/A N/A N/A stack append root N/A root N/A N/A target N/A root val N/A root left N/A root right N/A dist N/A N/A N/A node N/A N/A abs N/A N/A node val target N/A forward_stack N/A stack N/A N/A N/A N/A stack index N/A min stack key dist 1 N/A backward_stack N/A list forward_stack N/A N/A nextNode backward_stack backward forward N/A result N/A N/A _ N/A xrange k N/A N/A N/A forward_stack N/A N/A backward_stack N/A N/A dist N/A forward_stack N/A -1 N/A dist N/A backward_stack N/A -1 N/A N/A N/A N/A result append N/A N/A forward_stack N/A -1 val N/A N/A nextNode forward_stack forward backward N/A N/A N/A backward_stack N/A N/A forward_stack N/A N/A dist N/A backward_stack N/A -1 N/A dist N/A forward_stack N/A -1 N/A N/A N/A N/A result append N/A N/A backward_stack N/A -1 val N/A N/A nextNode backward_stack backward forward N/A result N/A N/A Solution2 N/A object N/A closestKValues N/A N/A self root target k N/A N/A N/A 
        :type root: TreeNode
        :type target: float
        :type k: int
        :rtype: List[int]
         BSTIterator N/A N/A __init__ N/A N/A self stack child1 child2 N/A N/A N/A N/A self stack N/A list stack N/A N/A self cur N/A N/A N/A self stack pop N/A N/A self child1 child1 N/A N/A self child2 child2 N/A next N/A N/A self N/A N/A N/A node None N/A N/A N/A self cur N/A N/A self child1 N/A self cur N/A N/A N/A N/A N/A self stack append N/A self cur N/A node N/A N/A self child1 N/A self cur N/A N/A N/A self child2 node N/A N/A N/A N/A N/A self stack append node N/A node N/A N/A self child2 node N/A N/A N/A self stack N/A N/A prev N/A self cur N/A node N/A N/A N/A self stack pop N/A node N/A N/A N/A N/A N/A self child2 node prev N/A N/A N/A N/A prev node N/A node N/A N/A self stack N/A N/A N/A self stack pop None N/A N/A self cur node N/A node N/A N/A N/A stack N/A N/A root N/A N/A N/A N/A stack append root N/A root N/A N/A target N/A root val N/A root left N/A root right N/A dist N/A N/A N/A node N/A N/A node N/A abs N/A N/A node val target N/A float inf N/A stack N/A stack N/A N/A N/A N/A stack index N/A min stack key dist 1 N/A backward N/A N/A N/A node N/A N/A node left N/A forward N/A N/A N/A node N/A N/A node right N/A N/A smaller_it larger_it N/A N/A BSTIterator stack backward forward N/A BSTIterator stack forward backward N/A N/A smaller_node larger_node N/A N/A N/A smaller_it next N/A N/A larger_it next N/A result N/A N/A N/A stack N/A -1 val N/A _ N/A xrange N/A k 1 N/A N/A N/A N/A dist smaller_node N/A dist larger_node N/A N/A N/A N/A result append N/A smaller_node val N/A smaller_node N/A N/A smaller_it next N/A N/A N/A N/A result append N/A larger_node val N/A larger_node N/A N/A larger_it next N/A result N/A N/A