3940414243444546474849
int maximalIndexValue = searchMaximumVertexIndex(input); for (int i = 0; i < maximalIndexValue; i++) { Vertex v = new DirectedVertex(i); vertices.add(v); } int i = 0; for (List<Integer> line : input) {