SOLVE
LATER
Given an array A of size 'N' and an integer k, find the maximum for each and every contiguous subarray of size k.
Input :
Output:
Constraints :
First Sub array of size 3 : 1 2 3, here maximum element is 3
second Sub array of size 3 : 2 3 1, here maximum element is 3
third Sub array of size 3 : 3 1 4, here maximum element is 4
fourth Sub array of size 3 : 1 4 5, here maximum element is 5
Fifth Sub array of size 3 : 4 5 2, here maximum element is 5
Sixth Sub array of size 3 : 5 2 3, here maximum element is 5
Seventh Sub array of size 3 : 2 3 6, here maximum element is 6