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
wow, I can't believe ruby has hypot calculators built in. This is awesome!
I concur. This is an invalid solution based on the parameters of the problem.
Inputs should both be numbers that are above zero => Here we have no exception for (-2,1)
This solution raise a TypeError exception if params are bad, technically it's working as intended.
This solution doesn't check the params.