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.
Needs way stricter character limit to be of interest.
This is basically an easier version of this kata.
It's also just one extra line than most Fibonacci katas.
Translations welcome!
No you can't. Even if you could, it should be forbidden; modifying inputs is bad bad bad.
This doesn't make much sense. It would be much more helpful to specify that
a
can be greater thanb
.missing "non-empty"
In description says return the smaller number if 2 numbers are same distance from
n
, but right now asking for the one appear first.