Dexterson Stack Overflow • Recommends
…e useful. for example consider this below graph.
A->B
B->C
C->A
I saw a solution in an MIT lecture but the lecture skimmed over it with reference to something taught earlier and couldn't catch it. In short it kind of replicates the nodes in layers in a way that the end graph denotes a DAG but conveys the same path information.
See 46:59
link to this video
Edit :
There is an explanation of turning cyclic graphs into dags in this MIT recitation at 36:57
link to this video
Se also Wikipedia : cycle and forest
Edit:
I want to apply dynamic programming over a problem which is a cyclic graph e.g) say shortest path problem Delta(S,D) wh……