Module ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad While BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Num Assign TupleStore AttributeStore NameLoad attr AttributeStore AttributeLoad NameLoad attr attr AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad Num Call NameLoad Num Call NameLoad Num Print Call AttributeLoad Call NameLoad attr NameLoad
N/A ListNode N/A N/A __init__ N/A N/A self x N/A N/A N/A N/A self val x N/A N/A self next None N/A __repr__ N/A N/A self N/A N/A N/A self N/A N/A N/A N/A {} -> {} format N/A self val N/A self next N/A N/A Solution N/A N/A swapPairs N/A N/A self head N/A N/A N/A dummy N/A ListNode 0 N/A N/A dummy next head N/A current dummy N/A N/A N/A current next N/A N/A current next next N/A N/A N/A next_one next_two next_three N/A N/A current next N/A N/A current next next N/A N/A N/A current next next next N/A N/A current next next_two N/A N/A next_two next next_one N/A N/A next_one next next_three N/A current next_one N/A N/A dummy next N/A N/A N/A N/A __name__ __main__ N/A N/A head N/A ListNode 1 N/A N/A N/A head next N/A N/A head next next N/A N/A N/A head next next next N/A N/A ListNode 2 N/A ListNode 3 N/A ListNode 4 N/A N/A N/A N/A Solution swapPairs head