MCPcopy Create free account
hub / github.com/TheAlgorithms/JavaScript /

Class

Backtracking/RatInAMaze.js:114–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 * Creates an instance of the "rat in a maze" based on a given grid (maze).
113 */
114export class RatInAMaze {
115 constructor(grid) {
116 // first, let's do some error checking on the input
117 validateGrid(grid)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected