DEV Community

Discussion on: Floyd's Tortoise and Hare Algorithm: Finding a Cycle in a Linked List

Collapse
 
sahajicodes profile image
Manish Sahu

I feel that, we should firstly move tortoise and hare, before comparing that they are equal or not....