Walks and paths in a graph

189 Views Asked by At

How can we prove the following?

In a graph, if there is a k-length walk between two nodes, then there exists a path between those nodes of length p ≤ k.

1

There are 1 best solutions below

0
On BEST ANSWER

Simply take the vertices along the walk; if you come to the same vertex twice, erase everything that was in between.