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.
I first solved this kata very straightforwarly without numpy and no special trick, your original code was probably quite inefficient, I advocate for no reduction too.
no reduction, this is 4 kyu
It's not really the number of test, but rather their size, the last five tests are very big.
I originally intended for people to use external libraries such as
numpy
to do the math part and didn't think people would bother to write the code themselves.The final tests ended up, accidentally, being an extra challenge for those who wanted to give a go at making a more efficient algorithm.
If you just want to get it over with, use imports. Now, if you want a challenge, try to write it yourself.
see description
<b
not<=b