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.
Clever use of indexes w/ the scores and uniq.count to determine whether a pair or tripplet exist. Converting the result from their name to numbers early on made it a bit difficult to follow the steps inside the if-statement since you have to call the score of the number rather than it's name.
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.