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.
I'm also using JS and having the same problem. It looks like sample cases are working, but random are not. In fact, it looks like random cases are expecting a quadrupled answer instead of doubled, eg:
Testing for 2,2,2,4,8,3 and 2
It should work for random inputs too - Expected: '[8, 8, 8, 16, 32, 12]', instead got: '[4, 4, 4, 8, 16, 6]'