---
title: "Discussion on \"Floyd's Tortoise and Hare (Cycle Detection) algorithm\" | Hashnode"
description: "Discussion on \"Floyd's Tortoise and Hare (Cycle Detection) algorithm\". This algorithm is commonly used to detect cycles in a linked list but can also be adapted to find duplicates in an array.\nFloyd's Cycle Detection Algorithm, also known as the \"tortoise and hare\" algorithm, is a popular method for detecting cycles in ..."
url: "https://hashnode.com/posts/floyds-tortoise-and-hare-cycle-detection-algorithm/6513bfc4b39467908049777d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Floyd's Tortoise and Hare (Cycle Detection) algorithm](https://roushann.hashnode.dev/floyds-tortoise-and-hare-cycle-detection-algorithm?utm_source=hashnode&utm_medium=feed)

This algorithm is commonly used to detect cycles in a linked list but can also be adapted to find duplicates in an array. Floyd's Cycle Detection Algorithm, also known as the "tortoise and hare" algorithm, is a popular method for detecting cycles in ...

Sep 27, 2023 · 4 min read · roushann.hashnode.dev  
Read the article

-   [#dsa](https://hashnode.com/tag/dsa)
-   [#sde](https://hashnode.com/tag/sde)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#interviewbit](https://hashnode.com/tag/interviewbit)

## Written by

[Roushan Kumar](https://hashnode.com/@roushan)

@roushan · India

  
[View profile](https://hashnode.com/@roushan)

Tech enthusiast | Engg. Undergrad | web3 | Full Stack | Gaming

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
