binheap.h

来自「清华大学出版的数据结构(C语言版)中书中所提到的所有C源程序的实现。」· C头文件 代码 · 共 23 行

H
23
字号
        typedef int ElementType;/* START: fig6_4.txt */        #ifndef _BinHeap_H        #define _BinHeap_H        struct HeapStruct;        typedef struct HeapStruct *PriorityQueue;        PriorityQueue Initialize( int MaxElements );        void Destroy( PriorityQueue H );        void MakeEmpty( PriorityQueue H );        void Insert( ElementType X, PriorityQueue H );        ElementType DeleteMin( PriorityQueue H );        ElementType FindMin( PriorityQueue H );        int IsEmpty( PriorityQueue H );        int IsFull( PriorityQueue H );        #endif/* END */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?