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.
approved some time ago
This comment is hidden because it contains spoiler information about the solution
Already fixed.
on the way :)
This is an easy fix. You only have one prime divisor in
b
ifb = 2
.I have never actually thought about it. But I have had some real trouble with using
Test.assertEquals
when comparing string results instead ofTest.assertDeepEquals
, so I just use the latter all the time. You can test it by modifying one of thefixed tests
to see if it gives you the right answer.I see you haven't approved this JS version.
Added
Added
here is the code of the linked one