资源列表
[数据结构常用算法] Linear_Has2177703232010
说明:一个线性散列表DEMO,允许用户插入空表并观察其增长情况(每次插入后重新显示)。-Title: Linear Hashing Example Descr iption: Demonstrate how linear hashing works by allowing users to insert elements into an empty hash table and see how it grows (hash table i<r> 在 2025-02-02 上传 | 大小:6kb | 下载:0
[数据结构常用算法] shushuzhuang
说明:打印树状二叉树,用队列,按层次打印 按先序遍历和中序遍历建立二叉树-Print the tree binary tree, with a queue, by level of print by the first order traversal and inorder traversal binary tree set up<somreone> 在 2025-02-02 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ShinglingSimhash
说明:网页查重算法Shingling和Simhash研究.对初学者很有用。-Web search algorithms Shingling and Simhash of weight. Useful for beginners.<fsdaf> 在 2025-02-02 上传 | 大小:285kb | 下载:0
[数据结构常用算法] dictionary
说明:字典排序编码,应用C语言编写,在vc中运行结果-Dictionary sort code, applications written in C, in run result vc<孙莉萍> 在 2025-02-02 上传 | 大小:992kb | 下载:0
[数据结构常用算法] main-element
说明:具体地讲,如果一个数组A[1..n]中超过半数的元素都相同时,该数组被称为含有一个主元素。 (a) 设计一个有效算法(至少是O(n logn)),确定该数组中是否含有一个主元素,如果有,找出这个元素。 (为简单起见,假设n是2的幂,且n<150) (b) 能否给出一个线性时间算法? 需注意的是,该数组的元素之间可能不存在顺序——即不能进行”A[i]<A[j]”的判断,但是可以进行是否相等的判断。 -Spec<申俊泽> 在 2025-02-02 上传 | 大小:227kb | 下载:0