Heap Sort 概念. 把array 轉換成max-heap,這是一種滿足max-heap property 的binary tree:對於除了root 之外的每個node i, A[parent(i)] ≥ ≥ A[i] ...
確定! 回上一頁