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
Nice! Awesome--it's fixed!
Thanks again for the cool Kata!
Works perfectly now! Thanks for the correction! Awesome Kata!
Thanks for the ruby version. Looks like the random test cases are buggy though (one example below).
"Test for: nums = [671059108, 671053106, 671059186, 675059106, 671029106, 71059106, 671059506, 671259106, 631059106]
✘ Expected: "7135052293105868", instead got: nil"
Some arrays are shorter than others and the key is much too long.
Thanks again!
Ruby here. All the random tests expect a 0 result (one such example below). How can this be?
"Random tests
Testing for [35, 22, 4, 619, 9, 995, 9] and 2
✘ It should work for random inputs too - Expected: 0, instead got: 1039 "