堆排序 Heapsort
摘要:堆排序:由三个函数组成:Max_heapify ( int A[] ,int i ,int heap_size)//堆化 T(n)=log(n);Build_max_heap(int A[],int heap_size)//建堆 T(n)=n ;Heap_sort(int A[],int le...
阅读全文
posted @ 2014-09-04 03:12
posted @ 2014-09-04 03:12
posted @ 2014-07-21 00:13