Ad
  • Custom User Avatar

    done, also made the method static. i had to replace the solution panel as the author's solution ran into an infinite loop when n < 10.

  • Custom User Avatar

    Java:

    • Missing fixed tests

    • 7 random tests is insufficient

    • Reference solution should be private

    • should be updated to JUnit5

  • Custom User Avatar

    .

  • Custom User Avatar

    python new test framework is required for both basic + full tests suite.

  • Custom User Avatar

    Approved

  • Custom User Avatar

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

  • Custom User Avatar

    This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/93 Please join the discussion to help us identify duplicate kata and retire them.

  • Custom User Avatar

    It is relevant. It's the design of the kata. It's good to have this information, since it can validate some basic approaches that would fail with maximum integer (and FIY: there is no such a thing as maximum integer in languages like Ruby or Python). How would this be an issue?

  • Custom User Avatar

    But then the information "n <= 1500" is irrelevant. I would work also for maximum integer.

  • Custom User Avatar

    No, it says n is between those values, not that you should validate that, not a kata issue.

  • Custom User Avatar

    Kata descrition says "1 <= n <= 1500", but this is not covered by its test cases.
    Tests for numbers outside this range should be added.

  • Custom User Avatar

    COBOL translation (author is inactive).

  • Custom User Avatar

    Approved :)

  • Custom User Avatar

    i rewrote the description a bit, hopefully it makes more sense

  • Custom User Avatar

    🦊

  • Loading more items...