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.
Still occurs.
.
This fork includes correct scala random tests. Awaiting mod approval since author is inactive :)
isProbablePrime(i) introduces additional time complexity, probability that a number is prime is 1-pow(0.5, i). Even for small i~30 it is almost 1 so it's pointless to pass such big values here.
Scala: all random test cases used 9 digit array which conflicts with the instructions saying a 10 digit array.
Spent over 15 minutes to figure it out, thank you.
Nobody's going to change the specifications of a kata with 1700+ completions.
According to Befunge-93 specification (https://github.com/catseye/Befunge-93/blob/master/doc/Befunge-93.markdown)
.
operator should output integer followed by space. I think that should be respected here.