Could not Understand the given example

I am unable to understand that how the answer is Yes for the given sample input, and also what is the position in the matrix from where piyush starts?

@kumar.chaitanya1997 hey chaitanya here is a assignment hint video for this problem you can refer this better understanding you can follow this link.

Could you please explain to me how the sample test case is working and how its answer is yes,13

@kumar.chaitanya1997 hey Chaitanya we are very sorry for the late reply
go to this link you will understand how the sample one is designed
you can refer to this link.

Hey Chaitanya,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.