Two Pointers NC150
Two Pointers
Walk two indices through a (often sorted) array to find pairs or partitions in linear time.
8 problems 3 Easy 4 Medium 1 Hard
Walk two indices through a (often sorted) array to find pairs or partitions in linear time.