Graph Theory37 sections · 1633 units
Open in CourseQuiz: Topological Order
Knowledge check
Check Your Understanding
Why must you process nodes in topological order for DP on DAGs?
- A.Topological order is just for sorting output
- B.To minimize memory usage
- C.To find cycles in the graph
- D.So all predecessors are computed before you process a node