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.
In my opinion, this kata is probably one of the hardest among all 8 kyu's. This kata may be more appropriately categorized as a 7 kyu.
I think I misunderstood the instructions. Trying to understand why the expected output does not include all values of 15 in one array.
Testing for input [18,13,11,15,19,14,20,15,15,11]
✘ should work for random tests with small arrays -
Expected: '[[18], [13], [11, 11], [15, 15], [19], [14], [20], [15]]',
instead got: '[[18], [13], [11, 11], [15, 15, 15], [19], [14], [20]]'
PS - attempting to solve kata with JS
Many thanks!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution