Two Pointers

The Two Pointers pattern is a common technique for solving array and string problems efficiently.