13 problems
Two Pointers interview problems
13 Two Pointers problems, from easy to hard. Each one has an editorial explaining the approach and its complexity, and a visualizer that runs the solution step by step on the example input or your own.
Easy (4)
Medium (8)
- 11. Container With Most WaterMedium
- 15. 3SumMedium
- 16. 3Sum ClosestMedium
- 18. 4SumMedium
- 72. Sort ColorsMedium
- 146. Two Sum II - Input Array Is SortedMedium
- 151. Reverse Words in a String IIMedium
- 204. Find the Duplicate NumberMedium