DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Howto Find the Start of a Cycle in a Linked List

1 · · June 3, 2026, 8:52 p.m.
software development algorithms data-structures linked lists
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 software development
A Theory of Arrays (ToA) Union Find
philzook58 · Jul 3, 2026
software development algorithms
Adaptive Radix Tree
Kent Beck · May 4, 2026
software development algorithms
How to Build an LRU Cache from Scratch in JavaScript
jsdevspace · Mar 6, 2026
Javascript software development
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