Only one test case is passing

it is giving me 0 even if my key is present or not in the matrix.

@anyamaurya hey I have corrected your code ,please see to it:

1 Like