Meta interview question

Onsite: sliding window max