Ad
  • Custom User Avatar

    Seems like it's an issue of misunderstanding ~~

  • Custom User Avatar

    I solved problem. My code was incorect. Check all test cases separately. Great Kata :)

  • Custom User Avatar

    I have the same issue:
    "expected: but was:".
    My code works fine. I don't know what's wrong here.
    I tried to change my return statement to false in the second testcase and it was success. I guess it expects 'false' there...
    Try System.out.println to figure out what is wrong

  • Custom User Avatar

    i am submitting the code for java. The third kata test case is throwing this :::: getUniquePrimeFactorsWithCount: Expected 2-dimensional array with size 2 in first dimension expected:<2> but was:<0>

    when i printed the n, the value was 0. so the answer as the author has mentioned should be Long[][] {} . is there something wrong with the test case.

    if anyone could help please it would be very much appreciated.

  • Custom User Avatar

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

  • Custom User Avatar

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