Cycle detection in Graph

How to find the cycle in a directed graph? Which algorithm to use DFS or BFS?

Author: Amit Khandelwal 1
Login to Answer
Sort By:
Oldest
|
Newest
|
Vote
|
My Answer