Description: 散列函数源代码,散列表通常是关键字和值对应的数据结构,散列函数用于把关键字映射到相应的数组索引号,由于散列表中每个元素访问到的概率不同,所以应该选用不同的散列函数,以提高程序的查找效率.-Hash function source code, hash table is usually the value of keywords and corresponding data structure, hash function used for the keywords mapped to the corresponding array index number, because each element in the hash table the probability of access to different, so should choose a different hash function in order to improve the efficiency of search procedures. Platform: |
Size: 80896 |
Author:wuzh |
Hits:
Description: 数据结构课程设计,利用Hash技术统计C源程序中关键字。本程序主要分为两个模块,一是用Hash表存储c语言中32个关键字,再扫描c源程序取出每个单词,利用Hash查找技术统计该程序中的关键字出现的频度;二是用顺序表存储c语言中的关键字,把c源程序取出每个单词利用二分查找技术统计该程序中的关键字的出现频度。-Data structure the curriculum design, the use of Hash technical statistics C source in the keyword. This procedure can be divided into two modules, one with the Hash table to store c language, 32 keywords, and then scan c source code out each word, using Hash technical statistics to find the program appears in the keyword frequency 2 is to use the order of the table is stored c language keywords to c source code out of each word to use binary search technology statistics of the program appears in the keyword frequency. Platform: |
Size: 6144 |
Author:胡晓莉 |
Hits:
Description: 源码之前了无秘密,你将看到vector的实现、list的实现、heap的实现、deque的实现、Red Black tree的实现、hash table的实现、set/map的实现;你将看到各种算法(排序、查找、排列组合、数据移动与复制技术)的实现;你甚至能够看到底层的memory pook和高阶抽象的traits机制的实现。(Before the secret source code, you will see the vector implementation, list implementation, heap implementation, deque implementation, Red Black tree, hash table, to achieve the realization of set/map; you will see a variety of algorithms (search, sorting, permutation and combination, and mobile data replication technology) to achieve even you; to see the realization of the underlying memory pook and higher order abstract traits mechanism.) Platform: |
Size: 226304 |
Author:qwer@
|
Hits: