• Custom User Avatar

    Well, this one is more inspiring. For the kata, the algorithm complexity of solution can not be reduced. However this trick is somehow better than doing int comparison (as I once did), let alone adding up two numbers each time. On the other hand, utilizing the set type also involves consideration of the feature of python language, which is good.

  • Custom User Avatar

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

  • Custom User Avatar

    Most awsome kata i ever met on codewars which i have to write test cases myself, This is fantasitic

  • Custom User Avatar

    Good and weird kata, I hate these long test cases

  • Custom User Avatar

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

  • Custom User Avatar

    That is kata creators fault and I cannot get honor for this kata. I would like to get some help.

    I don't at all understand your post. I tried several solutions and they all passed without any problem. Then I saw that you had passed the kata... I suppose one of your first tries had a code error?

  • Custom User Avatar

    I wrote the solution of this kata on c#. The code works perfectly, it 100% passes all tests. When i press "Test" it passes the "BasicTests", but when I press "Attempt" it doesn't pass "BasicTests" with "Input string was not in a correct format" exception and passes 50 random tests. That is kata creators fault and I cannot get honor for this kata. I would like to get some help.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Such a crap description

  • Custom User Avatar

    C++ translation

    Please, review and (hopefully) approve.

  • Custom User Avatar

    AWSOME ONE, MUCH BETTER THAN THE LEECODE VERSION! THE AUTHOR IS ABSOLUTE A GENIUS!

  • Custom User Avatar

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