Perhaps a breadth-first search of the graph? Is this homework? It sounds a lot like problems from my undergrad studies.
--MidLifeXis
In reply to Re: Print all possible paths in a graph and some graph creation too!
by MidLifeXis
in thread Print all possible paths in a graph and some graph creation too!
by tsk1979
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |