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.
I get it, thanks!
@Blind4Basics: Why isn't the solution correct? I get it's by no means elegant or efficient, but it outputs the correct result, right?
This comment is hidden because it contains spoiler information about the solution
It took me only 1 hour to write these 5 lines and not have errors pop up.
I feel like I'm learning a lot with every kata I complete, looking up old SO questions and browsing the documentation.
Honestly there are more elegant ways to do this, but I'm glad how it came out, it kinda even looks like I know what I'm doing.
Thanks for the answers, I'll use the proper markdown next time. Sorry for the inconvenience.
This comment is hidden because it contains spoiler information about the solution
This is the first kata I'm trying to do. Randomized testing does not tell me which situation is my function failing at.
EG the error says "should return "right"" when it would be more helpful should it say "(0,0,2) should return right"
I had to manually set a test on an external ide to try the function.