Two Pointers
The two-pointer technique can be used mostly on linear data structures. Some of the variations of two-pointers can be used on a linked list, and almost all of the two-pointer techniques can be used on strings.
Last updated
Was this helpful?