Ad
  • Custom User Avatar

    I feel silly now *facepalm *.

    Thank you!

  • 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

  • Custom User Avatar

    Added random tests, how it works now :)

  • Custom User Avatar

    No, I didn't mixed expected and got. I'm 100% sure :( That's why I'm confused.

    Another example:

    Testing for 2608491
    Log
    (3)(19)(45763)
    It should work for random inputs too - Expected: '(2)', instead got: '(3)(19)(45763)'

  • Custom User Avatar

    True, but I don't really understand what happens or if I haven't understood something. For example, in these tests, the kata asks for the prime factors of 195. The prime factors of 195 are 3,5 and 13, not just 2 :(

  • Custom User Avatar

    I have some trouble with this kata in JS. When passing the tests, I don't really understand what happens. I pass the sample test but some of the others seem to give wrong answers:

    Testing for 4238285
    It should work for random inputs too - Expected: '(1)', instead got: '(5)(847657)'

    Testing for 195
    It should work for random inputs too - Expected: '(2)', instead got: '(3)(5)(13)'

    Am I doing something wrong?

  • Custom User Avatar

    Whenever I press "Attempt" I get an error:

    ++++++++++
    Network Error
    This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request.
    ++++++++++

    This has been happening to me with this particular kata for some time now. How should I proceed?