Odd Even Linked List
Given the head of a singly linked list, group all nodes at odd indices together followed by the nodes at even indices, and return the reordered list.
Check more interview questions and experiences about Reddit
Given the head of a singly linked list, group all nodes at odd indices together followed by the nodes at even indices, and return the reordered list.
Check more interview questions and experiences about Reddit
Please log in to view interview question details