When we are making the present cell (0,0) how does it imply backtracking?
About backtracking
when we make present cell 0,0 then it means we are erasing that path which is not required or not possible
just do dry run for one testcase
you will understand bactracking in this question and it helps a lot