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.
Any tips/hints for optimizing the algorithm? Currently passing the sample tests okay, but timing out on the attempt. Thanks!
You've got to be careful of rounding errors. I was stuck on this last test for a while to. I'd recommend putting your values to the log to see where Ruby rounds where you don't want it to.
Thought I was going crazy b/c it looks good. You've got a spelling error. =]
This comment is hidden because it contains spoiler information about the solution
Same thing with Repl.it.