Kapture CX Interview Question

Sliding window, unique substring, simple code.