Two Pointers
Use two markers that move through the array.
- Move Zeroes Easy · Read and write markers
- Two Sum II Medium · Opposite ends
- 3Sum Medium · One fixed + two moving
- Sort Colors Medium · Three moving markers
- Container With Most Water Medium · Move the shorter side
- Trapping Rain Water Hard · Two sides remember their tallest wall