卷別
資料結構與演算法
選擇國立臺灣大學 2024 · 考試 · 第 10 題
考科演算法
(5 points) Consider a sequence of numbers . Now we remove numbers from the sequence so that we have non-empty segments of numbers. For example, consider . If we remove 8 then we have two segments and .
Now we want to minimize the maximum sum of numbers of a segment. Let be the answer, then what is the correct recursion for when and ?
- (A)
- (B)
- (C)
- (D)
- (E)