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.
For clarity, please update your instructions to note that the map is given as a string and not a matrix.
I agree with the other warriors who found the Node objects to be unnecessary.
I think this kata could be improved by completely removing the Node class, changing the test cases to a simple array (list of lists) of 0's and 1's, and changing the solutions to a list of tuples.
Whether underscore is considered alphanumeric (as regex treats it) or not (as we would colloquially treat it) should be clarified in the instructions.
This comment is hidden because it contains spoiler information about the solution