资源列表
SparseVector
- Fast and memory efficient implementation of a sparse vector class in C++, including routines for platform-independent binary persistence.
Hash
- 试构造一个算法,从键盘输入一组关键字,按哈希函数H(key) = key MOD 13和链地址法处理冲突构来造哈希表,能对关键字进行查找并显示。 如(19,14,23,1,68,20,84,27,55,11,10,79,33). -Try to construct a method, a set of keywords from the keyboard, press the hash function H (key) = key MOD 13 and the address of th
lcs
- 最长子序列,问题描述: 随机生成小于等于n的自然数的一个序列,输出其最长递增子序列(任意一个即可)。 n 分别取 1000,3000,10000。 例: n=5 随机序列为 5 1 4 2 3,正确输出为1 2 3,即长度为3的递增子序列。 -lcs
APRIORI
- 数据挖掘经典算法Apriori算法的的java实现,共包含两个类。数据结构用MAP实现。其中输入固定。可以将其改成读取文档形式。-Data mining classic algorithm Apriori algorithm. Realize in Java
ConvexHullScan
- 凸包算法,自己写的代码带了接口,希望大家喜欢.-ConvexHullScan
Stack-examples
- 栈的几个应用举例——顺序栈、链栈结构定义与基本操作(SqStack_exercise.cpp,LinkStack_exercise.cpp),括号匹配(matching.cpp),表达式求值(evaluation.cpp),Ackerman递归函数的实现(Ackerman.cpp)-Stack a few application examples- the order of the stack, the stack structure is defined chain, and basic op
DataStructure
- 殷人昆所著的《数据结构(c++)版》配套的课后的习题解答。-data structure (c++) version of matching answers after the exercise.
sortdemo
- 采用MFC界面,实现了冒泡排序、堆排序、快速排序、归并排序等常用排序算法的算法演示。-Using MFC interface, implementation of the Bubble Sort, Heap Sort, Quick sort, merge sort sorting algorithm, such as commonly used algorithm demo.
migong
- 利用栈结构实现迷宫求解问题。迷宫求解问题如下: 心理学家把一只老鼠从一个无顶盖的大盒子的入口赶进迷宫,迷宫中设置很多隔壁, 对前进方向形成了多处障碍,心理学家在迷宫的唯一出口放置了一块奶酪,吸引老鼠在迷宫中寻找通路以到达出口。-Achieved using a stack maze to solve the problem structure. Maze solving the problem as follows: psychologist to a mouse from a big b
qinghuashujujiegou
- 清华大学数据结构 严蔚敏 PPT+习题答案-Tsinghua University, Yan Wei-min data structure PPT+ Exercises Answer
Montgomery
- 编写的蒙哥马利算法实现,是初学者最好的学习代码。用C语言实现-Montgomery algorithm,the best code for beginners
3_list
- 三: 针对带表头结点的单链表,试编写下列函数。 (1) 定位函数Locate:在单链表中寻找第i个结点。若找到,则函数返回第i个结点的地址;若找不到,则函数返回NULL。 (2) 求最大值函数max:通过一趟遍历在单链表中确定值最大的结点。 (3) 统计函数number:统计单链表中具有给定值x的所有元素。 (4) 建立函数create:根据一维数组a[n]建立一个单链表,使单链表中各元素的次序与a[n]中各元素的次序相同,要求该程序的时间复杂性为O(n)。 (5) 整理函数
