SWESPOT

Two Pointers and Sliding Windows

Turning a nested loop into a single pass, and recognising the problems where that collapse is available.

1 article