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 Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareEq NameLoad NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad While BoolOpAnd CompareNotEq NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore AttributeStore NameLoad attr NameStore TupleLoad NameLoad NameLoad NameLoad While CompareNotEq NameLoad NameLoad body Assign TupleStore AttributeStore NameLoad attr NameStore NameStore TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Assign NameStore NameLoad While BoolOpAnd CompareNotEq NameLoad NameLoad CompareNotEq NameLoad NameLoad body Assign TupleStore AttributeStore NameLoad attr NameStore NameStore TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr NameStore NameStore TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad Num Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr 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 repr N/A self next N/A N/A Solution N/A N/A reorderList N/A N/A self head N/A N/A N/A N/A N/A head None N/A N/A head next None N/A N/A head N/A N/A fast slow prev N/A head head None N/A N/A N/A fast None N/A N/A fast next None N/A N/A N/A fast slow prev N/A N/A N/A fast next next N/A slow next slow N/A N/A current N/A prev next prev N/A slow None None N/A N/A current None N/A N/A N/A N/A current next prev current N/A prev current N/A current next N/A N/A l1 l2 N/A head prev N/A dummy N/A ListNode 0 N/A current dummy N/A N/A N/A l1 None N/A l2 None N/A N/A N/A N/A current next current l1 N/A l1 l1 N/A l1 next N/A N/A N/A current next current l2 N/A l2 l2 N/A l2 next 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 head next N/A ListNode 2 N/A N/A N/A head next next N/A ListNode 3 N/A N/A N/A N/A head next next next N/A ListNode 4 N/A N/A N/A N/A N/A head next next next next N/A ListNode 5 N/A N/A N/A N/A Solution reorderList head