31st March 2020

## Find maximum for every window of size k in an array – Google Interview Question

Problem This is a hard problem that was asked by Google in a software engineering interview. Given an array of integers and a number k, where 1 <= k <= length of the array, compute the maximum values of each subarray of length k and print the max values. Test Cases Input Output [10, 5, 2, 7, 8, 7] 10,...