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.
dont forget main thing that it works ;)
what
this function wouldnt survive y10k :(
I feel like random tests are kind of unnecessary in this kata. When you're only testing for two possible values anyway, the fixed tests seem like enough. I haven't created a kata myself before, though, so I'm not sure if the random tests are required. Otherwise, good job! This was a good warm-up :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wow, absolutely did NOT think of using that function. I should read the docs more...
This comment is hidden because it contains spoiler information about the solution