Walmart Global Tech interview question

Simple hashmap question for level 1, a sliding window level 2