LeetCode 143: Reorder List — Step-by-Step Visual Trace
📰 Dev.to · tracelit
Given the head of a singly linked list, reorder it by alternating nodes from the beginning and end of the list in-place.
Given the head of a singly linked list, reorder it by alternating nodes from the beginning and end of the list in-place.