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 solution is the absolute best practice
oh, i see
Because you added a comment to it
how did my solution not group to this (↓ see my solution)
I had that issue. My error was because I had array's within the array (eg
[1,2,3,[1,2],3]
), and the test cases can't compare the values because of the multiple arrays inside of the array.Tests for this challenge don't work. 'TypeError: a.localeCompare is not a function'
How were you able to submit this? Shouldn't work for an empty input, since empty arrays can't be reduced.
It's poorly written if you ask me
This comment is hidden because it contains spoiler information about the solution