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.
Hint is indeed not a kata suggestion, and don't give hints, all is in the description, the rest is up to the user, thinking, doing researches and not reading discussion page.
When I showed this code to my colleage he said it is Lisp. I did some digging on that website and found fragment suggesting this is Scheme variant of Lisp. I even found online compiler for this, but was unable to run any copy-pasted code there without errors.
But I don't think you need to be familiar with that language to understand their examples. The most important information my colleague gave me is that in Lisp operator precedes arguments, so for example
* a b
would bea * b
in C.Read the text in bold too. It's not what you think you should return, it's returning what you're asked to do.
For
productFib(5895)
55 * 89 = 4895
and4895 < 5895
, so yes, your numbers are wrong.Not a kata issue, your code returns the wrong numbers.