why is it giving run time error
Finding maximum elemnt in k size window
Hey @Vibhuti0206 you are not providing k in the input thats why its giving runtime error, please provide the value of k after array.
i have given the value in line 39,where are you saying?
your input is
7
1 3 2 5 6 4 6
where 7 is n
and 1 3 2 5 6 4 6 is array
you also need to provide k you havent.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.