Fast & Slow Pointers Stories
8 stories from the epics
LinkedList Cycle
Mahabharata — The Chakravyuha — Abhimanyu Trapped in the Spiral · Easy
Start of LinkedList Cycle
Mahabharata — Tracing the Chakravyuha — Finding Where the Trap Begins · Medium
Happy Number
Bhagavad Gita — The Wheel of Samsara — Does the Soul Reach Moksha or Loop Forever? · Medium
Find Duplicate Number
Mahabharata — Karna — The Hidden Son Who Was Also a Pandava · Medium
Middle of the LinkedList
Ramayana — Hanuman Bisects Lanka — Finding the Exact Center of the Island Fortress · Easy
Palindrome LinkedList
Ramayana — Valmiki's Palindromic Verse — The Shloka That Reads the Same Forwards and Backwards · Medium
Rearrange a LinkedList
Mahabharata — Weaving the Pandava and Kaurava Armies — Alternating the First and Last Warriors · Medium
Cycle in a Circular Array
Mahabharata — The Disc of Sudarshana — Detecting Infinite Loops in the Battlefield Orders · Hard