← 回題庫

卷別

資料結構與演算法

選擇

國立臺灣大學 2024 · 考試 · 第 7 題

考科演算法

(5 points) When we compute all mi,jm_{i,j}'s with Equation 1, we must follow an order of ii and jj so that the mm's on the right-hand side are all known when we compute mi,jm_{i,j}. Please select all the correct orders in the following choices.

  • (A)
    decreasing order of i+ji + j
  • (B)
    increasing order of i+ji + j
  • (C)
    increasing order of (i−j)2(i - j)^2
  • (D)
    decreasing order of (i−j)3(i - j)^3
  • (E)
    increasing order of ∣(i+j)(i−j)∣|(i + j)(i - j)|

標準解析

AI 已複查