Two Pointers Problems
The two-pointer technique uses two indices moving through data to solve problems in linear time. Common patterns: converging pointers, fast-slow pointers, and sliding windows on sorted arrays.
27 problems
The two-pointer technique uses two indices moving through data to solve problems in linear time. Common patterns: converging pointers, fast-slow pointers, and sliding windows on sorted arrays.
27 problems