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.
Less lines != good code
A bit tounge in check, but I love Ruby too for things like this.
I loved it.
Brilliant!
Not as many mod 10s ;-)
It is what?
Yes, it is
Thank you,
I realized my code didn't even check for multiple y's so it would have failed that test anyway.
then fork it
i'm pretty sure you could just do
bool IsOdd(int x) {return !(x % 2 == 0);}
It should include a case with "yyyyaaaasss" for good measure. Currently, the single Y part does not show up in the test cases.
How do I make randomized tests?
This can probably be improved. My solution is sloppy.
Ok, thank you.
Loading more items...