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.
may be test's are different now,that's why your solution won't pass all the test's.
Must be an old answer as this solution does not work for this test:
pigIt('a tempora a mores !')
Could you explain how this ignores non alphabetical caracters? Or is it for an older version of the KATA?
lol
323 = 17 * 19
323 is not a primer
Sorry there are no errors in the tests. So many guys (3411) have passed it that it would be weird if there was one error. Maybe you should read the description again.
Test.assertSimilar(gap(8,300,400), [359, 367]);
Seems to be a wrong case. First pair is [323, 331]
thank you ! I knew half of them !
Oops, you can tell who wasn't paying attention in geometry class ;)
Nope, that's the condition for a right triangle, not for any triangles. Let the sides to be
a,b,c
andc
is the longest side, then:a^2 + b^2 > c^2
a^2 + b^2 = c^2
a^2 + b^2 < c^2
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution