by piinbinary · 9y ago · 0 comments
I also avoided any string manipulation, favoring truncating by using integer division for right truncation and modulus for left truncation.
Is that similar to your algorithm?
Mine was the brute-force "calculate all primes under a million then test them all" approach.