Explorar el Código
sieve: create and validate starter implementation according to POLICIES.md
Smarticles101
hace 9 años
Ninguna cuenta está vinculada al correo electrónico del colaborador
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+import java.util.List;
|
|
|
2
|
+
|
|
|
3
|
+public class Sieve {
|
|
|
4
|
+ public Sieve(int maxPrime) {
|
|
|
5
|
+ throw new UnsupportedOperationException("Delete this statement and provide your own implementation.");
|
|
|
6
|
+ }
|
|
|
7
|
+
|
|
|
8
|
+ public List<Integer> getPrimes() {
|
|
|
9
|
+ throw new UnsupportedOperationException("Delete this statement and provide your own implementation.");
|
|
|
10
|
+ }
|
|
|
11
|
+}
|