2 ms·
(Spoiler alert: The article itself is a spoiler, and so is my comment.) In their solution for problem 10, the well-known algorithm "Sieve of Eratosthenes" is i
by vog 10y ago
(Spoiler alert: The article itself is a spoiler, and so is my comment.)
In their solution for problem 10, the well-known algorithm "Sieve of Eratosthenes" is implemented, but without naming it.
Although explaining this algorithm is not the topic of the post, it would still be nice to at least mention the name. Apart from giving proper credit, this would also have the advantage that this article could be found by searching for "Rust" + "Sieve of Eratosthenes".