单项选择题

DFS on a graph, which situation means that the graph contains a loop 对图进行DFS,一下哪种情况意味着该图包含环路

A.There has a TREE edge 有TREE边
B.There has a BACKWARD edge 有BACKWARD边
C.There has a FORWARD edge 有FORWARD边
D.There has a CROSS edge 有CROSS边
微信扫码免费搜题