Coding Patterns: Two Pointers
Overview
This technique uses two pointers to iterate input data. Generally, both pointers move in the opposite direction at a constant interval.
DS Involved: Array, Strings, LinkedList.
How to identify?
The problem involves sorted arrays (or li...
noradomi.hashnode.dev2 min read