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.
Ah, didn't pay attention to the time being, I am new to the site.
You definitely have the brains to do think up a solution, but I would say you lack the study of data structures and algorithms. If you've seen some of the ideas you could've come up with a much simpler solution. Please do not take take this comment as offensive, but rather as an advice to invest a bit into studying the mentioned topic and best of luck! :)
if doing the "single liners" you might as well use arrow functions, so
and so on.
Looking good! Nice and clean one, I'd only suggest be consistent with the quotes you're using, but you probably just overlooked it.