← 回題庫

卷別

資料結構與演算法

選擇

國立臺灣大學 2023 · 考試 · 第 13 題

考科演算法

(5 points) Properties of min. spanning tree (MST): Let TT be a MST of a weighted graph GG with at least 3 vertices. Which of the following statements is/are correct?

  • (A)
    Given an edge ee in GG but not in TT, we can form a cycle by putting ee to TT. Then ee has the largest weight among edges in CC (the cycle).
  • (B)
    If we partition GG into two subsets, and let ee be the smallest-weight edge across the partition. Then ee belongs to some MST in GG.
  • (C)
    The edge with the smallest weight in GG must belong to some MST of GG.
  • (D)
    The edge with the second smallest weight in GG must belong to some MST of GG.
  • (E)
    The edge with the third smallest weight in GG must belong to some MST of GG.

標準解析

AI 已複查