Getting WA in one Test Case(Rat in a Maze)

can’t able to understand why am i getting WA

hello @dare_devil_007
please share ur code using cb ide

@dare_devil_007
check ur updated code (added comment for changes) here->