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.
cool kata :)
don't get hung up on the standard function announcement form.
I agree with you, this code is wrong and not pass all test
but description not changed, or this inaccuracy write intentionally?
Thank you for comment, I do not known about this case.
FYI: Instead of
if len(some_list) > 0
you can writeif some_list
.My pleasure and thank you for your feed; cheers :)
ok, today all tests pass without error, thank for reaction.
Are you sure you are not doing anything on the data? Because I don't get a tie in my code...
Added some examples for the Java description.
1 language is python
2 i do not change input array in my programm
and my decision sometimes pass your tests, sometimes no.
maybe the problem in your implementation, why is the input set of [16, 17] your implementation gives a "tie"
Brilliant, thanks! Would you also be so kind to add Java examples, just by copy, pasting and adapting the existing ones to Java style/syntax?
You should just convert the absolute value (feel free to add it as a note), then subtract it to stay consistent with the rest (and avoid to have a single
-1
toppling all the rest).And thanks for the edit :)!
I have implemented a Java translation, here!
Please review it and if you feel it is ready, approve it to entice Java devs as well.. :)
Added, thanks Yajirobei! Could you also edit the description to include a PHP example?
Hey GiacamoSorbi thats great kata!pure fun :)
PHP Translation added.
Cheers!
Loading more items...