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.
You can use sort() with arrays only
I realised I was returning a set and not an array, which has the sort method called on it in the tests
permutations
is the name of the function you have to defineTypeError: permutations(...).sort is not a function
why am I getting this error?
life is a series of if statements
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I agree! I've done 6 kyu's easier than this