Topological Sorting
Topological Sorting
1 mark:
c) Backtracking
d) Dynamic programming
a) O(V+E).
b) O(V)
c) O(E)
d) O(V*E)
2 marks:
a) sorting lists
d) Numerical computations
2. A man wants to go to different places in the world. He has listed them
down all. But there are some places where he wants to visit before some
other places. What application of graph can he use to determine that?
c) Topological Sorting
a)c,d,e
b)b,c,d
c)a,c,d
d)a,b,a