Matrix search doubt


whats the problem in that code?One test case is not passing.

hey @Aryanomar00, instead of break, place return 0