(1 comment) (0 reactions) (0 assignees)C++ (165 forks)auto 404
hacktoberfest

Repository metrics

Stars
 (87 stars)
PR merge metrics
 (PR metrics pending)

Description

Floyd's cycle detection algorithm

Floyd's cycle-finding algorithm is a pointer algorithm that uses only two pointers, which move through the sequence at different speeds. It is also called the "tortoise and the hare algorithm", alluding to Aesop's fable of The Tortoise and the Hare.

Contributor guide