哈希表的实现程序,可以自动从一篇TXT文件中扫描所有的单词,并为这些单词创建哈希表,来统计单词在文章中出现的次数。本程序采用线性探测再散列的方法处理冲突,支持打...
代码说明:
哈希表的实现程序,可以自动从一篇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.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!