Sail E0 Webinar
Question

What will be the ordering of the vertices produced by TOPOLOGICAL SORT when it is run
on the directed acyclic graph as shown below:

What Will Be The Ordering Of The Vertices Produced By TOPOLO...



Options:
A .  v0,v3,v2,v5,v1,v4
B .  v4,v1,v5,v2,v3,v0
C .  No topological sorting is possible in this case
D .  None of these
Answer: Option A



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers