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.
Java Translation
https://www.codewars.com/kumite/6369525709fa8e9eeb58aca0?sel=6369525709fa8e9eeb58aca0
approved
C Translation (author inactive).
fixed
This comment is hidden because it contains spoiler information about the solution
Fixed.
Test description specifies that you are "Given a non-empty array of integers"
However there can be a random test for [] which expects 1 as a result.
Adjusted, broke most (all?) solutions due to various hard coding.
Let me know if it is ok now.
Added.
That's a question, not an issue.
This was fixed.
Random tests generate integers instead of arrays as input. ( So they consistently expect
NaN
. That's not random, either. )Please leave issues open until you have confirmation that the issue is actually solved, or more than a reasonable amount of time has passed (you don't have to wait weeks for confirmation).
Unfortunately, that is not to do it.
You're right!
Thanks! I think the most difficult part of drafting this kata for me was describing it.
Loading more items...