---
title: "Discussion on \"is there a cycle?\" | Hashnode"
description: "Discussion on \"is there a cycle?\". Man I want to buy a cycle:(\nOkay so let’s see if a linked list has a cycle in the list.\nOne way to do that is have a set and iterate the linked list iff there is any duplicity seen in the list Because every listNode has a different memory address, in..."
url: "https://hashnode.com/posts/is-there-a-cycle/67b79bc6d1ec4a8ff3cd670b"
---

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

Discussion

# [is there a cycle?](https://linkedfreakinglinks.hashnode.dev/is-there-a-cycle?utm_source=hashnode&utm_medium=feed)

Man I want to buy a cycle:( Okay so let’s see if a linked list has a cycle in the list. One way to do that is have a set and iterate the linked list iff there is any duplicity seen in the list Because every listNode has a different memory address, in...

Feb 20, 2025 · 2 min read · linkedfreakinglinks.hashnode.dev  
Read the article

## Written by

[Priya Mannur](https://hashnode.com/@priyamannur)

@priyamannur

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

Software developer

Exploring..

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
