搜索资源列表
源代码(vc++)
- 里面装有 5 个小程序,分别是:0-1背包问题、二叉树遍历、链式表的实现、迷宫路径、资源最优配置算法。每个程序都有详细的说明,是我这两个学期所做的实验的一部分。-containing five small programs, namely : 0-2-1 knapsack problem, the binary tree traversal and the chain table and that the realization of the maze path, the optimal res
optimal-binary-tree
- 这个程序通过dp来构建最优的二叉树,使得效率更好,将高概率的结点放在高处。通过o(n^2)实现。-To build this program by dp optimal binary tree, making better efficiency, the high probability of the node on the height. O (n ^ 2).
first
- 贪心算法,哈夫曼编码 ,最优编码二叉树。(Greedy algorithm, Huffman coding, optimal coding two trees.)
最优二叉搜索树
- 需要内设初始值,就可以计算任何最有二叉搜索树(jflasdj xvc fdsa dfsas)