Test case 2 is failing in Matrix search

hello @itismohiton ,
a) image here it should be and in place of or.

b) if element is not present then print 0 .(u are printing -1)

Thank you. Doubt is resolved.