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.
Thank you for your time :)
Did you downvote my previous answer?
Most likely the tests are different, as easy as that: can't you just
console.log()
the input?But when i just run the 5 small tests the last one passes..
when i run all of them that same last one of the 5 small tests doesn't pass.
how can it pass and not pass?
Thank you for this kata ☺
Doesn't have to be a high level mathematical solution. Try thinking around testing for out of range outputs then reducing the inputs until the outputs are within a range where they can be accurately calculated.