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.
Thank you, David!
Man, this is such an excellent solution! I wish I would learn to destructure like you:
const [ left,right ] = arr.etc
If you don't mind, how does the reduce function work here?
This is so succinct! Very nice :)
Well, I mean, the instructions say to return a variable 'l', and it's part of the code that's automatically put into the solution. I know my comment seems pedantic, but that wasn't my intention. I really do think this is the best answer, just that it doesn't follow that specific instruction.
This comment is hidden because it contains spoiler information about the solution