The gateway pattern to coding interviews. Master this first.
The go-to pattern for subarray/substring problems.