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.
I feel silly now *facepalm *.
Thank you!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Added random tests, how it works now :)
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)'
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 :(
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?
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?