登录
首页 » Windows开发 » 哈希表的设计 [问题描述] 真对你所在的集体(比如你所在的班级)中的人名设计一个哈希表,使得平均查找长度不超过R,完成相应的建表和查表的程序。...

哈希表的设计 [问题描述] 真对你所在的集体(比如你所在的班级)中的人名设计一个哈希表,使得平均查找长度不超过R,完成相应的建表和查表的程序。...

于 2022-02-07 发布 文件大小:112.59 kB
0 189
下载积分: 2 下载次数: 1

代码说明:

哈希表的设计 [问题描述] 真对你所在的集体(比如你所在的班级)中的人名设计一个哈希表,使得平均查找长度不超过R,完成相应的建表和查表的程序。 [基本要求] 假设人名为中国人姓名的汉语拼音形式,待填入的哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留余数方法构造,用伪随机探测再散列处理冲突。 -Hash table design [description of the problem] really right in your collective (such as in your class) in the design of a hash table of names, bringing the average search length of less than R, the completion of construction of the corresponding tables and look-up table procedures. [Basic requirements] assumed the names of people known as the Chinese pinyin form, fill in the hash table to be a total of 30 names, taking the average search length of the upper limit of 2. Hash function with the addition of more than a few ways to stay construction, using pseudo-random probing re-hashing to resolve disputes.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • kinect 鼠标控制
    使用Kinect控制光标是我在许多网站上注意到一个共同的问题,这个功能可以帮助很多人去做更多的互动,设计师
    2022-11-08 04:35:03下载
    积分:1
  • 对于下雪的景象大家可能都不陌生,我们还是用VB来制作一个下雪的景象吧。其实制作这样一个下雪的景象并不复杂,它的原理是首先在底色为黑色的屏幕上随机画出许多白点(雪...
    对于下雪的景象大家可能都不陌生,我们还是用VB来制作一个下雪的景象吧。其实制作这样一个下雪的景象并不复杂,它的原理是首先在底色为黑色的屏幕上随机画出许多白点(雪花),然后使这些雪花不断地向下移动(重画),反复循环,就成功地模拟了下雪的景象。下面是这个小程序,你可以修改其中的一些数据调整雪花的密度和雪花落下的快慢。-The snow scene you may not be familiar with, we still use VB to create a snow scene of it. In fact, the production of such a scene of snow is not complicated, it is the first principle of a black background for the screen to draw a random number of white spots (snow), and then make these snowflakes down constantly (re-drawing), repeated cycle, on the successful simulation of the snow scene. The following is a small program, you can modify some of the data to adjust the density of snowflakes and the speed of falling snowflakes.
    2023-01-03 02:40:03下载
    积分:1
  • 一个windows的窗口实例
    一个windows的窗口实例-an example of the window
    2023-04-20 22:10:03下载
    积分:1
  • canon sdk 7.3
    CanonSDK73.rar 多方查询才得到的好东西!-canon sdk 7.3
    2023-09-07 14:05:08下载
    积分:1
  • This program is designed for a menu ordering system under pocket pc platform .
    This program is designed for a menu ordering system under pocket pc platform .
    2023-04-25 22:00:03下载
    积分:1
  • 操作系统的 自己一看就知道
    操作系统的 自己一看就知道-its own operating system a person would know
    2022-05-13 18:41:36下载
    积分:1
  • addfgghyhjjj
    aaaadxcjkdutiksdjkdukutsdkstkuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuudddddddddddddddddddddddddddddddddd
    2023-01-02 23:25:04下载
    积分:1
  • TLD 源码
    应用背景目前针对监控市场上的跟踪,特别是球机目标跟踪的情况下,因为在跟踪的过程中场景实时的在改变,只有有一个有效的物体特征跟踪算法才能把物体跟踪到,TLD算法就是一个这样的算法。关键技术TLD跟踪代码,针对目标进行跟踪 侦测和学习,可以在物体被遮挡有效的侦测到,次算法不是用颜色直方图等特征,而是用一套特有的特征算法,可以有效的对目标进行区分。
    2022-02-14 14:27:40下载
    积分:1
  • VC编写的透明按钮
    VC编写的透明按钮-VC prepared by the transparent buttons
    2022-03-01 14:38:51下载
    积分:1
  • 使用RAPI API,将PC上的文件传输通过ActiveSync在移动的…
    使用Rapi API,将pc上的文件通过ActiveSync传输到手机上。链接rapi.lib文件需要使用。
    2022-06-11 16:42:58下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载