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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
code war always have new thing to learn,
Sexy and clever.
Someone can tell me what is the x as argument? I can't understand it, maybe im too tired because my answer took 25 lines of breakheading code Dx
Damn, i wrote my solution almost 6 hours :D
Regex is powerful instrument, if u know how to use it. Anyway, i've tried
This comment is hidden because it contains spoiler information about the solution
it's because first group matching white spaces as well.
Sometimes i see solutions like this and next see mine - i'm crying dude
Got it, I didn't know that the toFixed method rounds the number. Thank you so much!
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 was heading towards this solution, but I didn't finish...
Great clever work!