#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The largest independent dev blog feed.
We surface the best developer writing from thousands of independent blogs, updated daily. The open web is worth fighting for.
Join now
→
Learn more
TOPICS
Howto Find the Start of a Cycle in a Linked List
1
·
·
June 3, 2026, 8:52 p.m.
algorithms
data-structures
linked lists
software development
Summary
This blog post explains Floyd’s Fast and Slow Pointer algorithm, which is used to detect cycles in a linked list and to find the starting node of a loop efficiently, requiring only O(n) time and O(1) space.
Read full post on jsdev.space →
MORE POSTS LIKE THIS
Production ML-DSA Verification in 350 Lines of Python
Filippo Valsorda ·
Jul 26, 2026
Machine Learning
data-structures
A Theory of Arrays (ToA) Union Find
philzook58 ·
Jul 3, 2026
union-find
data-structures
Adaptive Radix Tree
Kent Beck ·
May 4, 2026
Adaptive Radix Tree
data-structures
How to Build an LRU Cache from Scratch in JavaScript
jsdevspace ·
Mar 6, 2026
Javascript
data-structures
Finding Min and Max Without Built-in Functions: A Python Tutorial
Vicente G. Reyes ·
Nov 18, 2025
Python
beginners
Non-recursively deleting a binary tree in constant space: Traversal with parent pointers
Raymond Chen ·
Nov 5, 2025
Old New Thing
Code
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google