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.
You haven't completed the calculation 2x+1 enough times. If you repeat this calculation and sort again, 159 will appear in the 50th position.
Just cause lots of people passed the kata doesn't mean the tests are correct. It might mean that those that passed the data managed to bypass defects in the tests.
Dendisol answered corectly, according to my opinion Yflash doesnt have correct algoritm, 159 is missing and the reason probably is why calculating of the next iteration is not included, so if you pay more attention, you will find that 2*79+1=159....I dont know weather i am clear enough
.
Missing item with a value of 159
I am very sorry since I can only repeat myself. There are no error in the tests.
dblLinear(50) should return 175
All languages have that same tests. All return 175. 1109 guys passed the kata.
I have the same problem in Javascript. I don't know what's failing, everything should work just fine
Having the same issue in Ruby. Rest of the tests pass but this one fails, same reason - it says it should be 189 but I'm getting 175. No idea where I'm going wrong with my solution.
Did you ever find the solution to this issue? Would you mind providing me a hint?
well , why are you printing anything to stdout ?
I am afraid that something is wrong in your code, 176 guys passed the kata in Python. Moreover this test is the same in all languages.
The answer
175
is the good one.Please which language?