The first problem is correct first, efficient afterwards. The second should express the efficient algorithm accurately, but I allow some boundary sloppiness.
In reply to Re (tilly) 5: (Golf): Sieve of Eratosthenes
by tilly
in thread (Golf): Sieve of Eratosthenes
by tilly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |