Better interview question

Sliding window, hash tables, 2D arrays, explaining code snippets