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.
Ou, now I got that part of the task right :) Then it's easier than I expected. Thanks!
"Write a function dirReduc which will take an array of strings and returns an array of strings with the needless directions removed"
This comment is hidden because it contains spoiler information about the solution
Hey, my code doesn't pass the tests because, sometimes, my commands aren't ordered as in the solution: instead of ["NORTH", "EAST"] my output is ["EAST", "NORTH"]. That shouldn't make any difference though, right?