Meta Interview Question

Onsite: sliding window max