← Amazon questions

Sort Linked List Sorted by Absolute Values

Filed under Amazon

Given a linked list sorted by absolute values (e.g., 1 -> -2 -> -3 -> 4), reorder the list so it is sorted by actual values (e.g., -3 -> -2 -> 1 -> 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 Amazon questions

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