IBM Interview Question

Leetcode style question using a sliding window and hashmaps