Note: known to work properly in Chromium browser only.
Sedgewick Input:
| Number of vertices: | |
| Number of edges: |
Test connectedness:
| Iterative | Depth-First Search |
| Recursive | Breadth-First Search |
Result: ?
Note: Recusive algorithms have some limitations. They work with the tiny and medium examples from References, but the stack is not large enough for the large sample. (check the Console if there is no result)
10
9
0 1
0 2
0 3
0 4
0 5
0 6
0 7
0 8
0 9