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.
This comment is hidden because it contains spoiler information about the solution
not an issue, a question. ;)
You need a more efficient algorithm, and think about avoiding useless (re)computations
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thx suic ;)
Your code passess the tests with Python 3.6 but not with Python 3.4 which is set as default. I assume that you use Python >= 3.6 in IDLE, which has order-preserving
dict
type (see here). You have two options: 1) switch the Python version in CW (there's a dropdown), 2) change your code to not depend on order-preserving behavior.Regards,
suic
This comment is hidden because it contains spoiler information about the solution
thank you, this made the solution even easier :)
They're ordered by appearance, not by appearance count.
[Ruby] All my random string tests are failing and the expected results don't look right. Example result:
This does not look like that they are ordered by appearance count.
I just checked on multiple sites how fibonacci works and all the test cases are wrong if I follow the fibonacci definition.
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.
This kata still broken with wrong test after 3 years?
Loading more items...