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.
Nice one line solution, and an elegent use of ES6. Without running benchmarks, the top solution is probably much faster since this needs to create an anonomous function and convert between variable types a few times. +1 clever
be careful with this one. You named the paramater "array" which could be really confusing for anyone else looking at this, considering the function accepts strings.
Well done, but thats alot of code!
This comment is hidden because it contains spoiler information about the solution
I love this site, but i think maybe people are too quick to upvote elegant looking code. In the workplace, consistancy and scalability count, not elegance or even being consise.
Base test should include an instance where the lowest numbers is a duplicate. I created a solution that passed all but one random test where this was the case.
This is probably best practice since it
I wanted a solution like this, but it got too complicated for me. Nice work.
Wow, this looks incredibly streamlined.. nice use of ES6 functions.
This deserves clever and best practice. Boss tells you he wants to change the format, just manipulate the variable called "format"