Skip to content
RED SAGSkills
hard20 pts · first answer countsstacks-and-queues

Finding where two lists intersect

Two singly linked lists merge into one shared tail. Pointers a and b walk lists A and B; when one reaches the end it jumps to the other list's head. Why do they meet at the intersection?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions