Please read the new rule regarding the restriction on the use of AI tools. ×

Help Needed in Cycle Detection in Graphs

Revision en2, by catismyfav, 2020-04-30 11:53:59

Hello all! I have started studying dfs and it's applications and I was studying topological sorting (https://www.spoj.com/problems/TOPOSORT/). 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)