Sfoglia il codice sorgente

saddle-points: add starter implementation. (#1003)

* saddle-points: add starter implementation.

* saddle-points: Update parameter name.
Sam Warner 8 anni fa
parent
commit
a58900f5a8
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13
    0
      exercises/saddle-points/src/main/java/Matrix.java

+ 13
- 0
exercises/saddle-points/src/main/java/Matrix.java Vedi File

@@ -0,0 +1,13 @@
1
+import java.util.List;
2
+import java.util.Set;
3
+
4
+class Matrix {
5
+
6
+    Matrix(List<List<Integer>> values) {
7
+        throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
8
+    }
9
+
10
+    Set<MatrixCoordinate> getSaddlePoints() {
11
+        throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
12
+    }
13
+}