Pregunta de entrevista de Minjar Cloud Solutions

Given an array and an integer k, find the maximum for each and every contiguous subarray of size k.