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.
Great solution. Very readable!
I had to click "view solution" cause I could not understand the instructions. Can't still understand it.
Look at function "testing" in the Sample Tests and you will understand. Moreover seems rather a question than an issue.
Have successfully completed this with Javascript, even though I was returning floats (eg,
41.400000000000034
). I guess the requirement forfloor
didn't get translated into the Javascript version of this kata perhaps?Because it's inside a
class
, which has its own way of defining function.This comment is hidden because it contains spoiler information about the solution
Nice. Your solution is what I was aspiring to, but I fell far short! Next time...