← Amazon questions

Reverse alternate elements of linked list and append

Filed under Amazon

Given a singly linked list, extract every second element, reverse that extracted list of alternate elements, and append it to the end of the remaining list. For example, given a-x-b-y-c-z, rearrange…

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

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