Pergunta de entrevista da empresa Power2SME

Given a array you have to find largest element for every possible k size window ?