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 know this is late, but the kata defines 0 as the 1st fibonnaci number.
yeah, but you're still computing again and again the same primes. Think about a way to avoid that.
not an issue, a question. ;)
You need a more efficient algorithm, and think about avoiding useless (re)computations
They're ordered by appearance, not by appearance count.
You didn't specify the language, but based on your profile I guess it's ruby. However, I see no issues with the ruby version.
Well, this is a beginner kata.
As far as I know, this is the expected and intended answer. Source: Comments on other "Enumerable Magic" katas that all follow this pattern. I vaguely recall the author stating on one that these katas are meant for students aged 10-14.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution