The answer to My question might be obvious, and I know that obvious answer on paper. I mean when it comes to some examples I understand why we aren't allowed to have loops to run the Lowest Common Ancestor algorithm, but I have problems understanding the papers written for solution of LCA in DAGs. and so which part of solution stops us from using it on cyclic graphs..
what I'm willing to know and would be thankful to be informed about:
- can you explain one of solutions to LCA problem in DAGs, without too much formuls?
- can you determine which step has problems with cylcles and why?
in my problem, pairs of nodes to find their LCA are not inside one loop, so I think there might be a way to solve that..
Thanks in advance