How come the output of 55 is 1

in this explanation : Search the element in the sorted matrix. If the element is present print 1 otherwise print 0. In the sample input,in first case 62 is not present in the matrix so 0 is printed. Similarly, for second case 55 is present in the matrix so 1 is printed…

55 is not present in the matrix so shouldn’t the answer be 0

hello @alamsarfraz422

ss

there is only one sample case and it is correct.
62 is not present hence output is 0

if u are referring some other input then pls share it with me ,along with the code that u r using to get the output

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.