Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Seems like it's an issue of misunderstanding ~~
I solved problem. My code was incorect. Check all test cases separately. Great Kata :)
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
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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution