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.
Could someone approve this kata ?
approved to avoid future merge conflicts
JS Translation. Description updated with JS specific restrictions.
It makes sense to specify how big factors of numbers can be.
It should be
When two different Gaussian primes have the same norm, you should specify how to sort them.
added
Special test cases suggestion:
This comment is hidden because it contains spoiler information about the solution
approved
.
C++ translation published
Yeah, considering this kata does not need factoring algorithms at all i will put some much bigger numbers in tests later.
Indeed, there was just "primes" in JS. Changed it to semiprimes
I wrote the JS translation and used the exact same batch suite names as in Python. The
~
stands for prime and almost-primes.maybe it is different between languages
in JS names of random test are:
Small Primes
Small Composites
Big Composites
~32bit Primes
~64bit Primes
Loading more items...