Ad
  • Custom User Avatar

    Good description now. Thank you for adjusting it.

  • Custom User Avatar

    Hey.

    I think you should correct the description or the tests.

    The description states: "You should count numbers up to but not including n."

    For n = 9, my initial solution generated [1, 3, 5, 7], not including 9. But that was flagged as an error by the tests.

    Solution [1, 3, 5, 7, 9] does pass the test, but the solution includes 9.

    Btw, nice kata.
    With kind regards.

  • Custom User Avatar

    I cannot commit my solution.

    One of the tests is:
    Test.assert_equals(maxlen(5, 17), 5.666666666666667)

    The solution is 5 and not 5.666666666666667. The shortest stick cannot grow to 5.666666.

    The test should be
    Test.assert_equals(maxlen(5, 17), 5)

    It is kinda weird. The same comment was already given 10-11 months ago and is marked as solved. ???
    Santa Claus changed it back to 5.666666666666667 ?

  • Custom User Avatar

    This solution does not comply with the assignment: ==> without using strings <==

    "Description:

    Reverse the integer without using strings or lists

    reverse(123456) -> 654321
    "