MAD101_-_Test3_-_FA_2024_2915.webp
S

MAD101_-_Test3_-_FA_2024_2915.webp

Kizspy | Question: 98
(Choose 1 answer)
(See picture)
A. bd, ad
B. ad. hi
C. ad, cf
D. bd, cf
E. gh, ab
F. gh, be
If we use the Prim algorithm to find a minimum tree, what are the seventh and eighth edges added?
We assume that an edge is written with two endpoints following the alphabet order (which means we write edge "ad"instead of "da"). We suppose that at each stage, if we have many choices, we will choose in reverse dictionary order. For example, if we have to choose between edges 'bc', 'de', 'az',we will choose 'de' first.
5
3
7
4
6 3
f
4
2
6
5
1
3
8
4
4
2
g
h
i

Thông tin

Category
MAD101
Thêm bởi
singing_bird
Ngày thêm
Lượt xem
734
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom