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 kata does not stand a chance to survive beta. I would unpublish it. You can always ask on Discord if some idea has been done before when authoring kata's.
Sample tests still expect
False
.Changed the ouptut from false to -1 to have consistent output types.
Updated the description to match the string
should be changed to
to avoid confusion.
Having multiple output types is bad.
This is still just "find nth fibonacci number" task, essentially. And unfortunately, that is not unique enough IMO.
I have now added some random tests! Thanks for the reminder.
No random tests https://docs.codewars.com/authoring/guidelines/submission-tests
Credit to Jimmy J Jarvis for the inspiration for this solution.