Matrix search testcase 0 error


getting test case 0 as run-error. I am using stair-case method.