eBay

1 DSA problems asked in eBay coding interviews

0 Easy
1 Medium
0 Hard

1 problem

Linked List
1
Odd Even Linked List
Medium

Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list. The first node is considered odd, and the second node is even, and so on.