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.
"Baby don't hurt me."
Not too hard. Only the description is hard to understand and I was about to give up. For example, what am I supposed to do if babyDontHurtMe = true and noMore = false? This is not clear and I had to do a lot of tests to succeed.
Nice one. Very hard too.
I like the idea. I just wonder if my recursive solution is faster or not.
Set the initial value of your reduce to 0
I like this one. Using the array coming from match is very interesting and new to me.
Very clever. This is a new pattern to me.
Nice one. Mine is similar, but I forgot I could use match() directly as an array. Bravo and thanks for giving us this great solution.
Read Gedelborius's post below.
I give up. Can someone tell me please why I'm getting this weird result?
expected
[ -22, -16, -9, -8, -12, -12, -13, 10, 6, 9, 19, 19, 10, 18, 20 ]
to deeply equal
[ -22, -16, -9, -8, -24, -12, -13, 10, 6, 9, 19, 19, 10, 18, 20 ]
It looks like there's a bug in my code or maybe the problem is with the tests. Any theory about it?
If you don't know what "?" means, why did you use it in your solution?
Now I see!!! LOL. Thanks a lot for the help, man. You saved my life!
Time: 631ms Passed: 13Failed: 0
Test Results:
Tests
test
(13 of 13 Assertions)
Completed in 5ms
Where can I find the original issue, please?
It works, but there are no sample tests. So you'll just have to click attempt if you want to test your solution.
Does it mean it doesn't work in javascript? Should I give up?
Loading more items...