0

In an undirected graph, for which DFS has been executed (in order to generate a DFS tree and thus categorize every edge as either tree edge or back edge), can there be cycles in the graph that only consist of back edges, i.e. no tree edges?

ryekos
  • 132
  • 1
  • 10

1 Answers1

1

Sure. Take a large clique, for example. Deleting a single DFS tree from a clique leaves a huge number of edges and consequently a lot of cycles.

templatetypedef
  • 362,284
  • 104
  • 897
  • 1,065