討論串[問題] Bubble sort
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者avogau ( 假 裝)時間17年前 (2008/12/29 12:06), 編輯資訊
0
0
0
內容預覽:
Selection Sort. for i ← 0 to n-2 do. {. min ← i. for j ← (i + 1) to n-1 do. {. if A[j] < A[min]. min ← j. }. swap ( A[i] , A[min] ). }. Time Complexit
(還有270個字)

推噓2(2推 0噓 2→)留言4則,0人參與, 最新作者ian60702 (pacific hero)時間17年前 (2008/12/27 20:23), 編輯資訊
0
0
0
內容預覽:
有關Algorithms 的題目. Write an algorithm in pseudocode for the selection sort using two nested loop. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 61.229.60.161.
首頁
上一頁
1
下一頁
尾頁