Matrix Search,,,,,,,,,,,,,,

not able to clear testcase 2

@sindhu_21 Please save your code on ide.codingblocks.com and share its link.

@sindhu_21
Check this case:
4 4
10 20 30 40
15 25 35 45
27 29 37 48
32 33 39 50
29

Expected O/p:
1

Your O/P:
0

Dry run your code with this case to check where you are going wrong. Let me know if you are not able to get your 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.