You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem statement
find the maximum for each and every contiguous subarray of size k Example
Given : Array a[]={1, 2, 3, 1, 4, 5, 2, 3, 6} & K (i.e. Window Size)=3
Output= 3 3 4 5 5 5 6.
Hey @plazzy99 I would like to solve this issue using sliding window technique + Deque.