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
Why 1.5 is correct answer in first test case (Test.assertSimilar(moneyGame([1,0.5,0.5,0.5,0.5,1,1,1]) , 1.5))?
There are four 1 and four 0.5, so it can be four combinations of 1+0.5, so no one will be eliminated
I have the same problem and I really don't understand what exactly may be wrong. Has anyone solved it?
thanks for your answer, very helpful
Test case my solution takes from 170 to 200 ms. How fast does it must be to solve the excruciatingly long list in Javascript?
HI, I take population with size 100. After 200 iterations fitness is increased average by 3 times. Usually from 0.05 to 0.15. But it's very small to figure out right answer. Can anyone suggest me where maybe an error?
Thank you
Hello,
I have 1 failed test: "Variance for the seventh example set is not correct - Expected: 0.0000, instead got: 800.0000".
But I don't understand where is the error. How can I see which values are used in example 7 ?
Thanks