MediumTwo PointersNeetCode 150 · #12/150
3Sum
- 1Learn the pattern
Sorted input + pair/target question → two ends walking inward. Shrink from the side that can't work.
- 2Trace your version
Paste your solution into the workspace and watch every step execute.
Open workspace - 3