← 回題庫

卷別

資料結構及演算法

選擇

國立政治大學 2025 · 考試 · 第 7 題

考科演算法

(4%) Which sorting algorithm will produce the following results of pass 0, 1 and 2 for 33, 7, 63, 50, 31, 20?

Pass 0: 7, 33, 63, 50, 31, 20
Pass 1: 7, 20, 63, 50, 31, 33
Pass 2: 7, 20, 31, 50, 63, 33
  • (A)
    Insertion Sort
  • (B)
    Selection Sort
  • (C)
    Bubble Sort
  • (D)
    Merge Sort
  • (E)
    Quick Sort

標準解析

AI 已複查