(int V)
| 9 | public List<Integer>[] adj; |
| 10 | |
| 11 | public Graph(int V) { |
| 12 | this.V = V; |
| 13 | this.E = 0; |
| 14 | adj = new List<Integer>[V]; |
| 15 | for (int v = 0; v < V; v++) { |
| 16 | adj[v] = new ArrayList<Integer>(); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | public void addEdge(int v, int w) { |
| 21 | E++; |
nothing calls this directly
no outgoing calls
no test coverage detected