Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Yep, you are correct i've tried to solve this kata in Scala. Thanks for you quickly answer, a kind regard ;)

  • Custom User Avatar

    This test failed:
    Feature: The TransformToPrime object can compute the smallest number needed to convert the sum of a list of integers to a prime number Scenario: Computing minimumNumber824,106,198,358,349,276,434,425,752,190,491,376,573,884) should result in 5

    That sequence of numbers sums 6236 plus 5 = 6241 and that number is not prime. Its 79x79. The correct answer is 11.

  • Custom User Avatar

    thanks for the advices! Im a begginer on this language and its always good to learn new ways to do the same