演算法(Algorithm) - 堆積排序法(Heap Sort)介紹. ... 將數列轉換成Max Heap; 排序(最大堆積樹(Max Heap)的樹根一定是最大值). 將樹根(最大值)與最後一個節點 ...
notepad.yehyeh.net