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.
Boring, spent more time on wolfram alpha to extrapolate a finite function than writing code.
shit kata lmao
OP got bodied lmao
Could have returned b - a to avoid to revisit the array with .reverse() method
Added the test as you suggested.
Thanks for the feedback!
100 dice rolls are not enough most of the times. Even if the solution is right "bad luck" can make it wrong. Refine the tests to avoid such cases.
I'll edit the kata after a little nap. It's been 20-ish hourse I've been awake.
Thanks for the feedback!