Ad
  • Custom User Avatar

    Ah yes, good catch. I was going for dense and elegant, and missed that case.

  • Custom User Avatar

    This one counts the string "True" along with the boolean True.

  • Custom User Avatar

    The denominator must be common to all rationals.

  • Custom User Avatar

    Hi, just have a simple doubt. The kata description says to find the minimum possible D. In the first example, 1 / 2 == 6 / 12, but shouldn't be 1 / 2 == 2 / 4 or even 4 / 8? Am I missing something in the description?

  • Custom User Avatar

    I want to give crap for those edge cases... but I understand that they are day to day stuff we have to deal with, so I wont. Only one thing tough, there is one case that has you modifying the function chunk argument. That should already be taken care of, for the simple reason that the function definition appears by default, and most people don't think of changing any of that, at the assumption that the author created it correctly.

    So, either remove the complete function definition or eliminate the case when no chunk size is entered. It could be left if the feedback from the test cases were more accurate but in my case all I got was that process took way too much time to complete, it never told me anything about missing arguments.

  • Custom User Avatar

    I agree. I think that at least should be 6 or 5th Kyu. The tests cases put an pretty good emphasis on performance.

    Edit:
    My bad, no performance issues here, just that the feedback from the test cases is all messed up in those invalid chunk size edge cases. It always says process took too long. I would suggest to pass those test cases upfront, and just leave the random ones hidden.

  • Default User Avatar

    yup. this kata was pretty challenging. one of the test cases was "this kata easy" and far from easy

  • Custom User Avatar

    Is this sarcasm?

  • Default User Avatar

    kata is easy author said.good luck with random edge cases

  • Custom User Avatar

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