• Custom User Avatar

    Hi g964. Thanks for your reply. I realize now the error of my ways, that I was omitting the (1-z) multiplier on the series. Thanks again. Colin.

  • Custom User Avatar

    For example in the first test case, z = { x: 0.64, y: 0.75 } For this number, the limit of the infinite series is { x: -0.47984395318595585, y: 1.0836584308625923 }

    How did you find that limit? It is wrong.
    Notice that this test is the same in all languages; do you think that among more than 190 people who passed the kata nobody is smart enough to see a flaw in the kata?
    BTW the way I just saw you changed your mind and passed the kata.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    looks like it is 300. so as low as that is, I am EVEN LOWER :D

  • Custom User Avatar

    Yes, you need a certain amount of honor points. Unfortunately, the limit is rather low...

  • Custom User Avatar

    looks like I can't make katas. maybe you need a certain level before it lets you?

  • Custom User Avatar

    A new Kata is always welcome!

    If it's not a duplicate and it has a good testing suite, sure ;) Otherwise it'll be shot down in the head and burned in a few hours.

  • Custom User Avatar

    Feel free to explore. A new Kata is always welcome!

  • Custom User Avatar

    How about an advanced variant of this kata where it doesn't count (a&b)&c different to a&(b&c)
    Test.assertEquals(solve("tft","^&"),2);
    Test.assertEquals(solve("ttt","&&"),1);

  • Custom User Avatar

    What if you added this to the sample tests:
    Test.assertEquals(solve("ttt","&&"),2);

    I think that might eliminate a lot of confusion about what counts. This is assuming that your answer (like mine) does return 2 for that test.