Statement
Given the head of a singly linked list, reorder the list as if it were folded on itself. For example, if the list is represented as follows:
...
Given the head of a singly linked list, reorder the list as if it were folded on itself. For example, if the list is represented as follows:
...