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.
The C# version is missing the e.g. example
Ruby translation submitted, if you want to approve it :)
Thanks to you for considering my opinion :)
You are right. I added more random and some edge test cases. Thanks for the feedback.
This comment is hidden because it contains spoiler information about the solution
I would recommend to only start with katas with sample test cases; if the need arises, resubmit after you have added a few strategical
print
statements to get how your code is doing.Should have many more test cases, including edge and random cases: let me know if you might appreciate a hand in that.
May I suggest many more tests, with edge test cases and more random situations?
Being somewhat new to programming, I can't even figure out what could be wrong with my solution when there aaren't any test cases shown.
Just felt the need to comment. Maybe somebody could write a post about what to do when your code fails..for example, how to go about figuring out what could be wrong.
I DO want to learn.
Wow, that was satisfying..I finally got it :)
Turns out, I had "mean" confused with "median"
This comment is hidden because it contains spoiler information about the solution