Interview Question: Start of Loop in a Linked List

Gaurav Sen
Youtube
Related Topic
:- Data Structures

This famous interview question is about reporting if a linked list has a loop, and then finding it's start. We use the 'Hare and Tortoise' approach, where two pointers moving at different speeds meet at surprising positions. 

Comments