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
approved by someone
Fork that fixes the issue.
fixed
done
Nice kata, well done.
Ah, great, thanks for your help, I'll rework my solution.
When that happens, it's normally because your code destroys the input list inside your code. And then the expected result is calculated having an empty list as input.
Seems to be an issue with random tests for Ruby: they are all expecting a result of
0
!.
Thanks!
Fixed in this fork: https://www.codewars.com/kumite/6469533905eaef91074b85f6?sel=6469533905eaef91074b85f6
Python fork with
describe
/it
blocks, snake_case and no built-in shadowing:https://www.codewars.com/kumite/6469533905eaef91074b85f6?sel=6469533905eaef91074b85f6
Haskell Stderr in running of tests gives a warning. Probably a change in the compiler or something.
Loading more items...