資料結構›Ch7 搜尋與排序
第 25 題/共 76 題
◀ DS 25/76
25. Merge Sort、Heap Sort
#DS-07-025易Merge SortHeap Sort

Sorting. (a) Apply mergesort and trace it on arrays A=[1,6,25,30]A=[1,6,25,30] and B=[3,14,28,32,36]B=[3,14,28,32,36]. (b) Trace the heapsort as it sorts the following array into ascending order: [9,12,4,8,3,11,6,15][9,12,4,8,3,11,6,15].

📄 台大110
跳轉到第題
▤完整推導請見《WH 資工筆記 · 資料結構》Ch7 搜尋與排序
本章題號 · 21–40 / 76