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.
Thank you!
This comment is hidden because it contains spoiler information about the solution
Because of this:
While both paths take you to the same end, the paths are different and you should treat them that way too.
Asking a question about the details of the problem. Why would this be a legitimate list of directions ["NORTH", "WEST", "SOUTH", "EAST"] and any different from this ["NORTH", "SOUTH", "WEST", "EAST"], in both instances you end up in the same spot. But the latter of the 2 returns [] while the other returns ["NORTH", "WEST", "SOUTH", "EAST"]. I would expect to want to return [] for both.