Pregunta de entrevista de Amazon Web Services

Sliding window maximum in c++