Only test case giving wrong output

tried all corner cases but still getting wrong answer

@mudit2jain
6
1 3 6 1 0 9
Your Output:Integer.Max_Value
Expected:3

Thanks a lot, It works now. I wanted to ask you how do you always figure out the testcase which is not working. Do you have some tips on that?

@mudit2jain
We have done these problems previously,and there are no such tips it comes with experience.

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.