loading...

re: Daily Challenge #194 - Spread Number VIEW POST

FULL DISCUSSION
 

Rust

fn spread(n: u32) -> Vec<u32> {
    (1..n + 1).collect()
}

Playground

Code of Conduct Report abuse