资源列表
huffman
- 使用C语言实现从指定文件中读取文本内容,并运用哈弗曼编码对文件进行编码,存储到指定的文件中。-Using C language to read the text from the specified file and use Huffman coding to encode files stored in the specified file.
yu
- 这是一个简单的VC++程序,运用单文档实现池塘夜降彩色雨。简单使用-This is a simple VC++ program, using single-color document to achieve a pond down the night rain. Simple to use
horspool
- 该程序运用horspool算法进行字符串匹配,时间效率很快。-the process is so fast.
gw_Disjoint-Set-DFA-Trie
- 2014年北京大学暑假公开课算法讲解课件之并查集,DFA,Trie图,讲解详细,分析透彻-2014 Peking University summer open class courseware on the algorithm and check collection, DFA, Trie, explain the detailed, thorough analysis
Purely_Functional_Data_Structures
- 很好的介绍了函数式编程中的数据结构,代码使用haskell 和ml-A good introduction to functional programming in the data structure, the code uses haskell and ml
Josephus
- 任给正整数n、k,按下述方法可得排列1,2,……,n的一个置换:将数字1,2,……,n环形排列(如图2-36所示),按顺时针方向从1开始计数,计满k时输出该位置上的数字(并从环中删去该数字),然后从下一个数字开始继续计数,直到环中所有数字均被输出为止。试编写一算法,对输入的任意正整数n、k,输出相应的置换数字序列。-Given any positive integer n, k, can be obtained as described below arrangement 1,2, ......
Job2
- 算法导论 思考题2-4逆序对问题:设A[1..n]是一个包含n个不同数的数组。如果在i<j的情况下,有A[i]>A[j],则称( i , j )就称为A中的一个逆序对(inversion)。给出一个算法,它能用Θ(nlgn)的最坏情况运行时间,确定n个元素的任何排列中逆序对的数目。(提示:修改合并算法)-Algorithm is graded 2-4 reverse introduction to question: set A [1.. n] is A contains n A d
similar
- 已知两棵二叉树的前序遍历结果,建立二叉树并判断其是否相似-Judge the similarity of two binary trees with the known results of their preorder traversals
Algorithms
- 很不错的算法书籍,英文版的,讲的很透彻。-The algorithm is said very thoroughly.
algorithms
- Algorithms英文原版,学习算法的一本经典图书-Algorithms English original, a classic book of the learning algorithm
fml
- 已知二叉树的先序遍历结果,建立二叉树并输出其先序、中序、后序遍历结果-Build a binary tree and print the results of preorder, midorder and postorder traversals based on the known result of preorder traversal
dataorganization
- 数据结构的常用方法该视屏中包含:B树的删除,B树的生长过程,堆的排序,分块查找,直接插入排序,希尔排序,快速排序-Commonly used method of data structures contained in the screen: B-tree delete, B-tree growth process, heap sort, sub-block to find a direct insertion sort, Hill sort, quick sort, etc.