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
lol I fixed the error but, where the hell do you want me to log that string?
Tests are very bad, show me the expected behaviour at least.
I really like this solution :) +1
fancy one liner but other programmers would spend 1 hour to understand what is going on with your code hehe
You can give me the solution in exchange hahaha. Only messing.
English is not my main tongue either, but I will try to help out.
There is also a typo on the function call on the Example #4.
Description suggestion:
Task:
There is a rectangular land and we need to plant trees on the edges of that land.
I will give you three parameters:
width and length, two integers > 1 that represents the land's width and length;
gaps, an integer >= 0, that is the distance between two trees.
Return how many trees have to be planted, if you can't achieve a symmetrical layout(see Example 3) then return 0.
isnt it bad to force people to use for/break/continue?
Thanks, I was confused because I didnt know the toFixed rounds.
what?? i have no idea what this kata is asking for
is there any difference between them?
why?
JavaScript translation added, please confirm :-)
Just added a JavaScript translation :-)
Would be great if we could have some sort of online badges for completing certain achievements that we could put on our LinkedIn profile or CV.
I hate regex but I found this kata cool.
ZozoFouchtra's comment helped me.
Loading more items...