4 results for “topic:tortoise-and-hare-algorithm”
A Python implementation demonstrating three fundamental linked list techniques with clear examples and detailed explanations. Features Multiple Pass, Temporary Head, and Fast-Slow Pointer algorithms for common linked list operations including finding middle elements, reversing lists, and cycle detection.
Find the duplicate number
The Tortoise and the Hare, no 3D or third party libraries, just the standard functions provided by the compiler.
My code suite, including homemade build and run tools and testing library, for practicing the Grokking the Coding Interview algo patterns in Java.