Rat in a maze recursion

one test case is showing no output

hey @sam15jain, you haven’t consider the case when solution doesn’t exist, you have to print -1 in that case.