1. Choose one of the two graphs and write down a topological
ordering for the graph using the topological sort
algorithm.
2. Suppose this graph represents dependencies between tasks
in a project, e.g., task 2 depends on task 1, task 7 depends on
task 2 etc. What does the topological ordering represent?
Given 2 directed graphs:
3
5
Graph 1
5
3
8