← Walmart questions
CodingReported in a candidate post, Jul 2025

Rearrange a linked list by a specific interleaving pattern

Filed under Walmart

Rearrange a singly linked list so that 1->2->3->4->5->6->7->8 becomes 1->8->3->6->5->4->7->2. From this single example, nodes at odd positions stay in place and the values at even positions appear in…

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 Walmart questions

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