用线性时间算法创建二叉堆。

#define MinData (-32767) typedef int ElementType; struct HeapStruct; typedef struct HeapStruct *PriorityQueue; struct HeapStruct {     int Capacity;     int Size;     ElementType *Elements; }; Priorit
相关文章
相关标签/搜索