Rat In A Maze Problem SolvedJavaScript Backtracking
In this article we will solve Rat in a maze problem with backtracking. The rat start point is (0,0) and exit point is (n-1, n-1). The rat can move to 1 and 0 is blocked.
Diagram
Code
class Solution
skshoyebjavascript.hashnode.dev3 min read