Ad
  • 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.

  • Custom User Avatar

    Is this sarcasm?

  • Custom User Avatar

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