Two Pointer Mode 1: Convergence — interactive step-through
Mode 1 of 6
Convergence
L → and ← R, meeting in the middle. The answer always lives within [L, R].
Press Play or step through manually
Invariant: at every step, if the answer exists, it lies within [L, R]. When the window closes, we've either found the answer or confirmed it doesn't exist.
Used for
Pair sum
Triplet sum
Palindrome check
Container with most water
Reverse array
Valid palindrome after removal
All 6 modes
1 · Convergence ←→


