单选题:Consider the following statements.S1. Kruskal’s algorithm might
Consider the following statements.
S1. Kruskal’s algorithm might produce a non-minimal spanning tree.
S2. Kruskal’s algorithm can efficiently implemented using the disjoint-set data structure.
@[D](2)
A. S1 is true but S2 is false
B. Both S1 and S2 are false
C. Both S1 and S2 are true
D. S2 is true but S1 is false
A.S1 is true but S2 is false
B.Both S1 and S2 are false
C.Both S1 and S2 are true
D.S2 is true but S1 is false
答案:D
S1. Kruskal’s algorithm might produce a non-minimal spanning tree.
S2. Kruskal’s algorithm can efficiently implemented using the disjoint-set data structure.
@[D](2)
A. S1 is true but S2 is false
B. Both S1 and S2 are false
C. Both S1 and S2 are true
D. S2 is true but S1 is false
A.S1 is true but S2 is false
B.Both S1 and S2 are false
C.Both S1 and S2 are true
D.S2 is true but S1 is false
答案:D