DEV Community

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

Collapse
 
lilyyanglt profile image
Lily

Thank you for this!! I was working on a problem on leetcode and came across a mention of the floyd cycle detection algorithm. It's so hard to understand on wikipedia, but your article helps clarify with the cute arts! Thank you so much!