โ† OYO questions

Print Singly Linked List from Start and End Alternatingly

Filed under OYO

Given a singly linked list, print its elements alternatingly from the start and the end (e.g., 1->2->3->4->5->6 becomes 1, 6, 2, 5, 3, 4).

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related OYO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.