J21
C
JAVA
FIELDNOTES
Browse
Java
All Java
Java Core
JPA
Spring
Concurrency
CS
All CS
DSA
All DSA
Pattern
All Pattern
Fast and Slow Pointer
Persistence
System design
All System design
Operation
Principle
All Principle
Design Patterns
AI
All AI
LLM Engineering
AI Engineering
Agents
Agentic
More
Technologies
Web
Parenting
Labs
Home
/
Tags
/
Two pointers
ARTICLE TAG
Two pointers
Algorithms that reason with multiple moving references.
Articles
1 article
01
Detecting a linked-list cycle with fast and slow pointers
Learn how Floyd's fast-and-slow pointer technique detects a linked-list cycle in linear time and constant space.
↗