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.
I learned highschool math, i know what log is, but how the fuck am i supposed to come up with that ? This is so random to me yet it works.
This goes on iterating until last element even though it found the unique one, right ? Is there a way to make reducer stop and just return the unique number when it finds it for better performance ?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I don't get it, isn't 1 letter = 1 minute ? Why on basic tests one of the 10 letter array returns false but the other one true ? What am i missing ?
i suck
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
What the... no for/while loop, runs the function again in return with rest of the matrix ? That's just so beautiful. I'm gonna cry.
Oh god, that is infinitely easier to read than my code i love it. Genius. Good work
That was a fun kata. But my code runs the random tests in a total of 3 seconds! (Other solutions run immediately to compare) What have i done...
ahahah. Reminded me of the "Donut-shaped C code that generates a 3D spinning donut"
I'm guessing you are passing the first test fine, your code is failing on second one because it adds too many spaces. When you console log your result you are still testing against the first one.
Try adding console.log(song), to see against which test your code failed.
filter(Boolean), wow. Thank you.
Loading more items...