開始使用免費開始

使用氣泡排序排序數字

給定下列數字串列,若使用 氣泡排序(bubble sort),你會依照什麼順序進行排序?

A schematic representation of a list with unordered numbers.

本練習屬於課程

Data Structures and Algorithms in Python

檢視課程

動手互動練習

將理論付諸實踐,立即體驗我們的互動練習

開始練習