[問卦] python的sort是哪種sort?

看板Gossiping作者 (陷阱金屬小妹)時間3年前 (2021/03/29 16:11), 3年前編輯推噓2(866)
留言20則, 20人參與, 3年前最新討論串1/1
小妹初學python 發現python的排序只需要加個sort就幫你排好了 那小妹就很疑惑了 像c你要排序都得自己寫什麼bubble heap quick這種的 那在python裡用sort他內建會是哪種排序法呢? 剛剛google過找不到 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.217.133.252 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Gossiping/M.1617005461.A.C49.html

03/29 16:12, 3年前 , 1F
自己跑看看不就知道了==文組?
03/29 16:12, 1F

03/29 16:12, 3年前 , 2F
bubble sort
03/29 16:12, 2F

03/29 16:12, 3年前 , 3F
quick sort
03/29 16:12, 3F

03/29 16:12, 3年前 , 4F
這種不是搜python sort algorithm就有了嗎
03/29 16:12, 4F
查到了 謝謝 沒聽過這個演算法耶

03/29 16:13, 3年前 , 5F
timsort
03/29 16:13, 5F

03/29 16:13, 3年前 , 6F
Timsort
03/29 16:13, 6F
※ 編輯: s11924 (180.217.133.252 臺灣), 03/29/2021 16:15:27

03/29 16:19, 3年前 , 7F
c有qsort啊
03/29 16:19, 7F

03/29 16:19, 3年前 , 8F
菜雞
03/29 16:19, 8F

03/29 16:19, 3年前 , 9F
小精靈
03/29 16:19, 9F

03/29 16:21, 3年前 , 10F
Jigsort : Lets play a game.
03/29 16:21, 10F

03/29 16:21, 3年前 , 11F
會上ptt 會寫程式 卻不會用google?
03/29 16:21, 11F

03/29 16:22, 3年前 , 12F
泡沫排序
03/29 16:22, 12F

03/29 16:23, 3年前 , 13F
qsort
03/29 16:23, 13F

03/29 16:23, 3年前 , 14F
quantum sort
03/29 16:23, 14F

03/29 16:24, 3年前 , 15F
sort不會寫=沒修演算法=>準備當碼農
03/29 16:24, 15F

03/29 16:34, 3年前 , 16F
自己google= =
03/29 16:34, 16F

03/29 16:53, 3年前 , 17F
笑死
03/29 16:53, 17F

03/29 17:01, 3年前 , 18F
monkey sort
03/29 17:01, 18F

03/29 17:13, 3年前 , 19F
MONKEY
03/29 17:13, 19F

03/29 17:46, 3年前 , 20F
C等於 糞
03/29 17:46, 20F
文章代碼(AID): #1WOOkLn9 (Gossiping)