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...
Dec 24, 20222 min read43
