โ† Amazon questions

Orphan Node and Cycle in Linked List

Filed under Amazon

Given a linked list, detect if a cycle exists and identify an 'orphan node' (a node not reachable from the head, though in standard lists this implies a disconnected component).

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.