← Amazon questions

Merge M sorted linked lists without extra space

Filed under Amazon

Given M sorted linked lists, each of size N, merge them into a single sorted linked list of total size M x N without using any extra memory space.

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.