matrix search :- https://ide.codingblocks.com/s/208928
It's showing TLE error for matrix search
You weren’t breaking from the loop after finding the element. Here i corrected your code https://ide.codingblocks.com/s/209045
You weren’t breaking from the loop after finding the element. Here i corrected your code https://ide.codingblocks.com/s/209045