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.
Duplicate of other run-length encoding kata, like for example this one: https://www.codewars.com/kata/546dba39fa8da224e8000467
Duplicate of https://www.codewars.com/kata/merge-two-arrays
Combining two API methods and nothing more does not really make for a very interesting kata.
Your random tests are unreliable. If
r()
generates the same number as it did before, you're expectingfalse
whentrue
would be correct.You're not running into this, mostly, because you have way too few random tests. Besides, they're not random. The expected value is predictable.