Qualtrics Interview Question

Leet code style question. Ex: Sliding Window algorithm