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.
Added inputs to assertion messages and approved.
Thank you. Fixed now. Surprisingly many invalidations .. :]
.
yep! a different approach to fibonacci katas. I think many katas are about kind of understanding the description, and then understanding what is the wanted output with the help of testcases, so description makes more sense!
yes
The JavaScript version (and possibly the Haskell translation if based off the original tests) does not test that the user solution considers the first term
a
to be part of the sequence, and as such the Kata can be passed with solutions that do not considera
to be part of the sequence.EDIT: For more context, view my solution which only checks from the second term.
Python Translation (Author inactive)
C Translation kumited, (author inactive).
Approved.
Haskell translation
@akar-0 it's the translator's responsibility to ensure the difficulty stays the same.
Initial Solution Setup:
I don't think overwriting its own function is a good practice.
yes, thanks
It often happens kata difficulties are very different from one language to another.That may be because of different builtin functions, sometimes because tests are not equitable... If we follow this, many katas should be restricted to a few languages, or exclude some others... For example a language like C has very few builtin functions in comparison with others... so what should we do? Restrict translations of original C katas and Restrict translations of other languages to C? Moreover when languages are updated they may have new builtin functionalities. This is not actually manageable, this is a very general issue on CW, it's part of it, we have to do with it.
Loading more items...