the question in the pic
Create a program that outputs a walk, trail, path, closed walk, circuit, and simple circuit of a given directed graph matrix. That matrix is to be hard coded as such…
1 | 2 | 2 | 1 |
2 | 1 | 2 | 1 |
2 | 2 | 1 | 2 |
1 | 1 | 1 | 0 |
– Make sure to program the matrix in to your code.
– Output an example of each, make sure they are labeled.