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.
Node v12 should be used enabled along with its appropiate assertion tools (Mocha + Chai).
No random test
Arrays with duplicate values (inside a single array) should be tested (it is not the case in JS at least).
No sample tests.
No random tests.
This comment is hidden because it contains spoiler information about the solution
No sample tests.
No random tests.
This comment is hidden because it contains spoiler information about the solution
This accepts the solution with
undefined
among the items.For example that array is passed tests [ 1, 2, 3, undefined, 4, undefined, 5, undefined, 6 ] for the input f([ 1, 2, 3 ], [ 4, 5, 6 ]).
This comment is hidden because it contains spoiler information about the solution
The test cases are not specifically enough, I wonder if you can add the following cases:
This comment is hidden because it contains spoiler information about the solution