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.
Nope. No idea what I was talking about. Looks good to me.
A horrible kata I enjoyed very much. So thank you... I think :)
That is AWESOME !!!
I assume the JavaScript array method 'flat' has been disabled? It doesn't seem to be working for me... I guess that makes sense, otherwise it would be a 'white' problem. But, even so, it would nice to be told so explicitly :)
Second attempt, after viewing better solutions in the community than my original solution.
Haha yes, I tend to be lazy (when tests permit). Making it efficient would considerably increace the difficulty.
How is this a 6kyu problem... I've encountered more difficult 8kyu problems than this.
"I'm looking around myself for one" -- haha, tell me that wasn't intentional :P
Coding 3min!! This took me nearly 3 days!!
Haha, but I got there in the end. A great problem!
I was litterally looking at every character in my answer to ensure my answer was formatted in exactly the same way as the expected test string. I kept failing. Then I read your comment, less than 20 seconds later I had passed all tests. Thank you :)
This is very cool, but I just checked the MDN and it is non-standard (i.e. won't work for every user) :/
JavaScripts Math.round() surely would give a more accurate answer than it's Math.floor() function. In the description instead of saying the result should be an integer, a better 'hint' would be "round down to the nearest integer" or "return the largest integer smaller than the actual value".