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 would add that adding prices has no practical sense.
I did this and I thought I was a monster, now I see that there are so many of us :D hahah
goood job
This comment is hidden because it contains spoiler information about the solution
No, that would lead to infinite recursion.
This comment is hidden because it contains spoiler information about the solution
looooook
I am not sure there are positive integers for which the last two operations can return a higher value than the previous ones. Otherwise best practice.
It's fun how you can forget best practices that you used before, when it so needed :))
I like the usage of recursion, pretty cool solution!
Math.floor()
is used because the brief requests the answer rounded down to the nearest integer.What is the point of using a recursion when you can do it much faster and simpler with a loop? I think recursion should be used only when it's necessary - going through all tree branches, for example.
Great work man!
Hello there! great work!
Yeah haha.
Loading more items...