All Categories
Linked List
Pointer manipulation for reversals and cycle detection.
Key: reversal pattern, fast/slow pointers, dummy nodes.
Key Concepts
Reversal
prev/curr/next pattern
Fast/Slow
Cycle detection, find middle
Pointer manipulation for reversals and cycle detection.
Key: reversal pattern, fast/slow pointers, dummy nodes.
prev/curr/next pattern
Cycle detection, find middle