3Sum
— Two Pointer Visualizer
// step through every decision the algorithm makes
INPUT ARRAY (comma-separated)
▶ Load & Sort
Ex 1
Ex 2
Ex 3
SPEED
1x
i — outer pointer
L — left pointer
R — right pointer
✓ triplet found
Sorted Array
Current Step
Press Play to begin.
▶ Play
⏭ Step
↺ Reset
step 0
🎉 Algorithm complete!
Triplets Found
none yet
Code Walk-through
3sum.py — active line highlighted