摘要: Heap Sort Heapify Heapify(array, n, i) = 1) compare node[i] with children 2)node[i] is already the largest one, no op. 3) child is largest one, swap, 阅读全文
posted @ 2018-02-05 03:21 xuyanran 阅读(161) 评论(0) 推荐(0)