Cycle detection in a graph

前端 未结 0 2034

We are given a graph with the following facts:

edge(a,b)
edge(a,c)
edge(b,a)
edge(c,d)
edge(d,d)
edge(d,e)
edge(e,f)
edge(f,g)
edge(g,e)

And we

相关标签:
回答
  • 消灭零回复
提交回复
热议问题