โ† Amazon questions

Modify First Half of Linked List

Filed under Amazon

Given a singly linked list, update the first half of the linked list such that each node's value becomes the difference between the corresponding node from the end and its current value.

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.