binheap.h

来自「数据结构与算法分析(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 + -
显示快捷键?