Matrix search problem: https://ide.codingblocks.com/s/653432 This code has passed 2 test cases, what possible modifications I can do in this code to pass one more testcase?
Fail to pass one more testcase
your approach is incorrect
Binary search is only applicable on monotonically increasing search space
here you have multiple arrays you can use binary search on any one row
but not on entire matrix
you can refer to this to understand correct logic
you have not given feedback in your previous doubts which i have solved
kindly give feedback on those doubts as well
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.