Help Needed in Cycle Detection in Graphs

Revision en1, by catismyfav, 2020-04-30 11:53:12

Hello all! I have started studying dfs and it's applications and I was studying topological sorting  This problem . I am stuck at the part to check the graph is Acyclic or not? Can anyone help with any easier way to check this? Thanks!

Tags #graph, topological sort

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English catismyfav 2020-04-30 11:53:59 17 Tiny change: 'l sorting ![ This problem ](https://w' -> 'l sorting (https://w'
en1 English catismyfav 2020-04-30 11:53:12 323 Initial revision (published)