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.
Added the note, thanks for the suggestion :)
@FArekkusu - your drawing is deceptively misleading. First off, the kata does not explain that there could be obstacles in the path. Secondly the path to get to the target, with the obstacle, would be
and
without the obstacle.
I'm sure you can cook up an example with an obstacle (perhaps a one way door?) where the paths
(or similar) are not equivalent.
The kata is ill-posed because the it gives the impression of a single algebraic set, but the test uses two separate sets.
Please consider updating the kata description to clarify the intent. Thanks.
I agree! Would be a less trivial problem to solve too.
Em, FArekkusu, didn't you draw ["NORTH", "WEST", "SOUTH", "SOUTH", "EAST"] ?
Check your code.
Already explained in the note.
By the way, it's stated in the description, but I doubt you actually cared to read it to the end...
Consider such map:
Which one will lead you to the target?
["NORTH", "WEST", "SOUTH", "EAST"]
or[]
?The tests are the same in all languages and almost 8000 guys passed the kata: there are no error in the tests.