About This Pattern
Master the Floyd's Cycle Detection pattern by practicing these problems organized by difficulty.Focus on the Key Signals - these are the indicators that tell you when to use this pattern.
Medium (1)
Find The Duplicate Number
Find the duplicate number in an array without modifying it, using O(1) space.
Key Signals:
Array as linked listCycle detectionFind cycle start