4 ms·
If the problem is outputting the primes, then storing them in a list is not a necessary part of that problem. When writing ‘fizz buzz’, would you expect to ret
by jameshart 3y ago
If the problem is outputting the primes, then storing them in a list is not a necessary part of that problem.
When writing ‘fizz buzz’, would you expect to return an array of 100 strings, some of which are numbers, some ‘fizz’es and some ‘buzz’es?