a. Bellman Ford
algorithm 1.
O (m log n)
b. Kruskals
algorithm 2. O (n3)
c. Floyd
Warshall algorithm 3. O(mn)
d. Topological
sorting 4. O(n +
m)
Codes :
a b c d
(A) 3 1 2 4
(B) 2 4 3 1
(C) 3 4 1 2
(D) 2 1 3 4
Answer(A)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.