Algo-Tree icon indicating copy to clipboard operation
Algo-Tree copied to clipboard

Maximum in each window of size K

Open puneetkaur2929 opened this issue 4 years ago • 4 comments

Maximum in each window of size K

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.

Language : I am interested to work in C++.

please assign this issue to me.

puneetkaur2929 avatar Jun 02 '21 09:06 puneetkaur2929

Hi 😄, @puneetkaur2929 Thanks for creating issue at AlgoTree, do read and follow the Code of Conduct and the Contribution Guidelines while contributing. Refer to PR's which has been merged earlier in AlgoTree Click Here Like, How many File they have changed?, Which type of files need to be change? and many more.

github-actions[bot] avatar Jun 02 '21 09:06 github-actions[bot]

Hi 😄, thanks for creating issue at AlgoTree, do read and follow the Code of Conduct and the Contribution Guidelines while contributing.

github-actions[bot] avatar Jun 02 '21 09:06 github-actions[bot]

Contribution time has ended 😄

vatsalkesarwani12 avatar Jun 02 '21 16:06 vatsalkesarwani12

can I know Issue is resolved or not @vatsalkesarwani12 ?

SunilKumar-K avatar May 22 '23 13:05 SunilKumar-K