Track Rust
Rust track

Sieve

An exercise from the Rust track
medium

About this exercise

Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.

map
vector
while let optional
math
View all solutions