← 回題庫

卷別

資料結構與演算法

計算

國立中興大學 2025 · 考試 · 第 22 題

考科演算法

(5%) Given the array [9,3,7,1,6,5,8][9, 3, 7, 1, 6, 5, 8], perform two passes of the Bubble Sort algorithm in ascending order (smallest number comes first). What is the resulting array after these two passes?

標準解析

AI 已複查