摘要: 分离链接散列表的类型声明 ifndef _HashSep_H struct ListNode; typedef struct ListNode Position; struct HashTbl; typedef struct HashTbl HashTable; HashTable Initiliz 阅读全文
posted @ 2017-02-04 15:03 梁月唯 阅读(350) 评论(0) 推荐(0)
摘要: 散列函数一 unsigned int Hash(const char Key,int TableSize) { unsigned int HashVal = 0; while( Key != '\0') HashVal += Key++; return HashVal % TableSize; } 阅读全文
posted @ 2017-02-04 13:39 梁月唯 阅读(319) 评论(0) 推荐(0)