← Amazon questions

Flattening a Linked List

Filed under Amazon · Also reported at Chargebee, ServiceNow, VMware

You are given a multi-level linked list where nodes contain a doubly linked list pointer structure, having next and prev pointers, and additionally a child pointer which may or may not point to a…

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.