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.
should I have done something different?
fork
Hi, I have modified the test setup, thanks.
Sorry that I didn't have a chance to get more into this, but it looks like you did it yourself!
Fixed for Ruby, in this fork
Done in this fork
I'd say this one shouldn't be approved until all other languages behave the same.
Approved.
I implemented this method in the editor, then copied it here.
okay I forked the kata and I think I fixed it but idk how to get the fix published
Yes, this! Especially the second one. I spent hours attempting this kata before realizing the reference implementation is the one that is wrong, not my code.
As long as the test remains broken the way they currently are, the quickfix for passing the broken tests would be to throw out all negative numbers that are also odd.
I'm guessing the mistake made was thinking that
i % 2 == 1
holds for all odd numbers; actually: a negative odd number% 2
== -1yes not able to pass the testcases in java
I'll try to take a look at it next week.
updated and adapted, thank you
C Fork
updating multiple qualities of the translation
Loading more items...