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.
This comment is hidden because it contains spoiler information about the solution
oh my god! That's even a more simple solution!
Ok, if anyone is as stuck as I was with one particular edge case:
Just print out all the function inputs and take a close look. I really had an issue with one edge case, I could not wrap my head around.
Otherwise, nice and relaxing kata!
If it works, it works!
I'm delighted with myself that I've finally written the same function as best practice example!
But the Kata was too easy for 5kyu. Feels like 7kyu
This man function programming!
Never seen so many lambdas in one place!