Two Pointer Technique
Two-pointers is a really easy, effective, and efficient technique in data structures to search pairs in arrays or array-like data structures.
Types of Two Pointers Technique
Same Direction Pointers
Opposite Direction Pointer
Fast and Slow Pointer
...
arrehman.hashnode.dev2 min read