My code is compiling but still giving the wrong answer.Please help.
Stock span problem
hello @srshubhi398
increase ur array size and then try (refer constraint section for size of array).
still not working,wrong answer is displayed,no testcases are passed.
check ur updated code here->
u missed to print βENDβ in the last
1 Like
Thanks for pointing out my mistake
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.