← Amazon questions

Check for pair with sum x and clone linked list

Filed under Amazon

Part 1: Find if any two numbers in an array sum to x. Part 2: Clone a linked list where each node has a 'next' pointer and a 'random' pointer pointing to any node in the list.

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.