wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let G = (V,E) be a weighted undirected graph and let T be a Minimum Spanning Tree (MST) of G maintained using adjacency lists. Suppose a new weighted edge ( u, v) V x V is added to G. The worst case time complexity of determining if T is still an MST of the resultant graph is

A
Θ(|E||V|)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Θ(|E|log|V|)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Θ(|V|)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
Θ(|E|+|V|)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon