MAD101_-_Test3_-_SU_2024_2214.webp
Naoya76

MAD101_-_Test3_-_SU_2024_2214.webp

  • Media owner Naoya76
  • Ngày thêm
Kizspy | Question: 120
(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
Naoya76
Ngày thêm
Lượt xem
2,103
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom