登录
首页 » Windows开发 » 哈希表的实现程序,可以自动从一篇TXT文件中扫描所有的单词,并为这些单词创建哈希表,来统计单词在文章中出现的次数。本程序采用线性探测再散列的方法处理冲突,支持打...

哈希表的实现程序,可以自动从一篇TXT文件中扫描所有的单词,并为这些单词创建哈希表,来统计单词在文章中出现的次数。本程序采用线性探测再散列的方法处理冲突,支持打...

于 2022-07-03 发布 文件大小:3.09 kB
0 47
下载积分: 2 下载次数: 1

代码说明:

哈希表的实现程序,可以自动从一篇TXT文件中扫描所有的单词,并为这些单词创建哈希表,来统计单词在文章中出现的次数。本程序采用线性探测再散列的方法处理冲突,支持打印HASHLIST,可以很方便的看到单词在表中的位置,便于理解哈希表。-Hashtable realize procedure, you can automatically scan a TXT file all the words, and for these words create a hash table to statistical word appears in the article number. This procedure using a linear method to detect re-hash of dealing with conflict, to support the print HASHLIST, it is easy to see that word in the table location, easy to understand the hash table.

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

发表评论

0 个回复

  • 696522资源总数
  • 104042会员总数
  • 46今日下载