One test case failing for Rat in a maze


According to my this code TESTCASE #4 is giving no output. Why is it so? How can I correct that??

@J19APPPP0007 hey tushar I think there is one case is missing in your code is that
If solution doesn’t exist, just print “-1”.