哈希函数 源代码

哈希函数指将哈希表中元素的关键键值映射为元素存储位置的函数。[2]

收录资源 500 份 全站深度检索
源码文件

13哈希表设计(3) [问题描述]    针对某个集体中人名设计一个哈希表,使得平均查找长度不超过R,并完成相应的建表和查表程序。 [基本要求]   (1)假设人名为中国人姓名的汉语拼音形式。待填入哈希表的人名共有30个,取平均查找长度的上限为2。哈希…

源码文件

#include #include #include #define m 5 //表长 #define y 3 //小于等于mde 最大素数 //#define NULLKEY # //代表空记录的关键字值 using name…

源码文件

#include #include typedef struct node{ int number; struct node *next; }Node; int main(void){ int i,first=1; …

源码文件

#include #include typedef struct node { int number; struct node *next; }Node; int main(void) { i…

源码文件

Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! #########…

源码文件

# Microsoft Developer Studio Project File - Name="哈希表" - Package Owner= # Microsoft Developer Studio Generated Build File, Format…

源码文件

Build Log --------------------Configuration: 哈希表 - Win32 Debug-------------------- Command Lines Creating temporary file "C…