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.
Thanks, now should be fixed
The expected value is the right value of "should return" but I don't know why it returned -1, I'll investigate it
Thanks akar-0 I understand, I'll try modify it in a way which create a new approach is needed
I really apreciete every comments and report of duplicate or errors when theese are constructive, in codewars there are a many different kind of Fibonacci sequence, FizzBuzz etc.., with different approach or adding extra algorithm, and I think this kata could be one of those, I know that it could be improved to be more challenging or interesting, BTW if mods find this kata a duplicated there is no problem to be unpublish.
Not only does this entail crafting a unique theme or backstory, but would ideally also involve a new, interesting approach to a problem. Maybe this kata has 0 novelty but not duplicated.
Some part of those kata's solutions can be used combined in this kata, but parameters and descriptions are not the same
Now should be fixed
Need to add a basic test with a number with two digit with same value, e.g. 11, otherwise kata can be passed even though solution isn't correct