Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I used BFS too and did not have an issue with time. After all, BFS has the best possible time complexity for a graph searching algorithm.
There may be a little bug that causes your solution to loop endlessly.
retired
This comment is hidden because it contains spoiler information about the solution
Looks like, I am too slow... is my breadth first search-attempt wrong (using a queue)?
You showed 2 9x9 mazes
This comment is hidden because it contains spoiler information about the solution