STRONGEST FIGHTER
I have commented it.
we r using that loop to remove all those indices from the dqueue that are now not a part of current window( from [i-k+1 to i] ).
pls check ur updated code here->
I have commented it.
we r using that loop to remove all those indices from the dqueue that are now not a part of current window( from [i-k+1 to i] ).
pls check ur updated code here->