Max element in window


some test cases are showing error

hello @jindaldivish


use >=

i have made the changes as you said but still test cases are not getting passed

declare ur array as
ll arr[n];

i am totally confused because there is still one test case which is not passed.please help.

it is passing all test cases
image
image

when a declare array as ll a[n]; one test case didnot get passed. but when i passed the array as ll arr[n] all the test cases were passed

didnt get what u r saying

i mean that when i was telling you that my one test case was not getting passed i was declaring the array as ll a[n]; but when i declare the array as ll arr’n

ok , so u got ur mistake na?