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.
This comment is hidden because it contains spoiler information about the solution
Elementary
Groovy Translation
Lua translation !
I wish the feedback from the error message was clearer, as it's not clear on which exact example the code fails.
Me neither, understanding the description is a challenge in itself often times.
Thanks!
I really don't see the difference between "every sequence" and "all sequences", but I'm not an english native speaker.
Then your code returned 0 instead of 1, the format is:
Yes. But when I clicked "Attempt", I've got this result -
for array : [3,0,0,0,0,6,9] : expected +0 to equal 1
That test expects 1 as result.
Why, for this example, equal 0?
[3,0,0,0,0,6,9]
All languages should have fixed tests below to invalidate some cheezy solutions that check for summation == 0
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, -2, -1]
Added some time ago
Loading more items...