hashquad.h
来自「weis的数据结构的实现方法很经典很强大」· C头文件 代码 · 共 25 行
H
25 行
/* Interface for quadratic probing hash table */typedef int ElementType;/* START: fig5_14.txt */ #ifndef _HashQuad_H #define _HashQuad_H typedef unsigned int Index; typedef Index Position; struct HashTbl; typedef struct HashTbl *HashTable; HashTable InitializeTable( int TableSize ); void DestroyTable( HashTable H ); Position Find( ElementType Key, HashTable H ); void Insert( ElementType Key, HashTable H ); ElementType Retrieve( Position P, HashTable H ); HashTable Rehash( HashTable H ); /* Routines such as Delete are MakeEmpty are omitted */ #endif /* _HashQuad_H *//* END */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?