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.
very interesting, the idea of reducing for the accumulator, but not caring about the return value. I think you might be able to make a use case for how this is idomatic to the specification, but I marked clever, because I think the meaning is a little lost in the code.
woah, jason!! You finished multiple days early?
this is very close to my solution. I will add that the conditional add remove is exactly what the
#^
method does, so that would make the code a little cleanerwhat does set.add return if it exists/doesnt exist?