Solution to Sub-task: Finding Traversable Indices
The solution to the Sub-task "Finding traversable indices" of the project "Maze Solver".
We'll cover the following
Finding traversable indices
Before traversing any index, ensure that a given index is valid. For this, implement the method canTraverse
like this:
Get hands-on with 1400+ tech skills courses.