← 回題庫

卷別

資料結構與演算法(A)

選擇

國立臺灣大學 2021 · 考試 · 第 5 題

考科演算法

(5 points) 承 snake sequence 題(網格如下,格座標依題目 (x,y)(x,y) 定義,均由 0 起算):

9, 6, 5, 2
8, 7, 6, 5
7, 3, 1, 6
1, 1, 1, 7

The third number of the maximum-length snake sequence is?

  • (A)
    7(1,1)
  • (B)
    7(0,2)
  • (C)
    3(1,2)
  • (D)
    6(2,1)
  • (E)
    8(0,1)

標準解析

AI 已複查