https://ide.codingblocks.com/#/s/17573
code is working absolutely fine but having issues with test cases…
Matrix SEARCH
Https://ide.codingblocks.com/#/s/17573
Can you please share the link of question?
Are you getting TLE?
In your code you are using this :- if(arr[i][l]>=x) indicating that elements
are sorted in each row.If this is the case then you need to apply binary search.