Ad
  • Custom User Avatar

    quick question: why does the solution box (for Ruby) have the following line in it by default?

    throw NotImplementedError.new "TODO: remove_smallest"

  • Default User Avatar

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

  • Default User Avatar

    There should be at least one fixed test including 100. My solution passed the random tests (and was therefore successfully submitted) when the random tests did not include 100, but my solution fails whenever the random test includes 100. Therefore, my solution is not correct and should not have been submitted - including 100 in the fixed tests would prevent this.

  • Default User Avatar

    came back to this after several months and got it in five minutes having spent ages on it before - once you know the pattern to look for in the test cases (and recognise the clue in the kata title), you'll get it!