搜索资源列表
递归枚举模板
- 递归枚举模板 问题描述:生成长度为n的字串,其字符从26个英文字母的前p(p≤26)个字母中选取,使得没有相邻的子序列相等。例如p=3,n=5时: // abcba 满足条件 // abcbc 不满足条件 //输入:n p //输出:所有满足条件的字串及总数-recursive template Problem descr iption : n generation length of the string and its 26 characters from the
非递归遍历一
- 本文用C语言实现了双链表结构树的前中后序非递归遍历-Using C language of the Double Chain structure tree before, during and after non - recursive traversal sequence
second_lexical
- 这个程序是一个递归向下的词法分析程序。它采用了递归的方式由上而下的对一个文本的词法进行分析。-This is a recursive procedure downward lexical analysis procedure. It uses recursive manner of a top-down version of the lexical analysis.
wangxinwen
- 树的建立,各种遍历(先根递归,先根非递归,中根递归,中根非递归,后根递归,后根非递归,层次遍历,最近公共祖先的查找,树的删除-tree establishment of various traverse (first - recursive and non - recursive first root, root recursive and non - recursive root, root recursive, non - recursive root level, traverse, th
infix_prefix
- lisp编的算术表达式中缀转后缀程序,递归。-lisp series of the arithmetic expressions grade switch suffix procedures, recursive.
sudoku_lisp
- lisp编的解数独游戏的程序,用递归实现。-lisp series of the game alone entertaining program that will achieve recursive.
15577661
- 递归求字符串长度 许多公司的面试题目,找工作的人可以-recursive string length for the many interview subjects, people looking for work can s
Hanoi
- 经典问题汉诺塔的递归解法(C++版),欢迎大家下载!-classic problem HANOR recursive solution (C version), all are welcome to download!
dgxj
- 这是一个用C语言编的简易的递归下降分析小程序,以供参考。-This is a C language series of the simple recursive analysis of a small decline procedures for reference.
背包问题2 递归
- 一个0-1背包问题的C++实现,背包的容量为t,各物品的重量分别为w1,w2。。。wn,找一个能装下最大重量的物品组合,用递归形式的贪心法实现-a 0-1 knapsack problem of C achieved, the capacity for backpack t, the weight of the items were w1, w2. . . Wn, one can find the largest installed under the weight of goods portf
quan-pai-lie
- 一种基于递归的全排列算法,可以输出指定字符的所有排列组合-Full array based on recursive algorithm, you can specify the output of all the permutations and combinations of characters
qishi
- 递归算法的实例--以骑士巡游为例做的控制台程序。主要设计到了递归回溯算法-Examples of recursive algorithms- to Knight-tour of the console to do the procedure as an example. The main design to a recursive backtracking algorithm
BinTreeExp
- 二叉树的创建、前序递归遍历、中序递归遍历、后序递归遍历、层次遍历、前序非递归遍历、中序非递归遍历、后序非递归遍历算法。里面包含了顺序栈和队列的实现代码。-Binary tree creation, pre-order recursive traversal, recursive in order traversal, postorder recursive traversal, traverse the level, pre-order traversal non-recursive, in t
math
- 关于组合数学的算法包括基本的递推,卡特兰数等经典的数-On the combination of mathematics, including basic recursive algorithm, the number of classic Cartland few
traverse
- 后续遍历非递归 数据结构中二叉树的遍历中 使用后续遍历非递归遍历二叉树-Follow-up data structure traversal non-recursive traversal of binary tree used in the follow-up traversal non-recursive binary tree traversal
ORDER
- 按阶次递推用F检验法判断模型阶次的算法 用模型计算出仿真数据,再按模型阶次递推算法的辨识方法,辨识模型的阶次和参数 -By order recursive F-test used to determine model order of the algorithm with the simulation data model, and then the recursive algorithm for model order identification method, identifica
mazebestpath
- 迷宫最短路径问题,采用递归算法实现,C语言学习者的经典题目-Maze shortest path problem, the use of recursive algorithm
Recursivesolve
- 递归函数编程的优点时简单 但耗用空间很大 由于频繁的调用函数 时间耗用也很可观 这个算法可以在空间和时间上解决递归函数的缺点 -The advantages of recursive functions when programming simple but frequent consumption is much room for the call function as a result of time spent in this algorithm is also very good in
targetQuestion
- 微软面试题,关于打靶的问题,打10次打中90环的所有的情况,用递归求解的方法编程!-Microsoft Surface examination questions, on the question of shooting, playing 10 times hit the 90 ring all the circumstances, using a recursive method of solving programming!
quicksort
- 通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。-Trip will be sorted by sorting the data is separated into two independent parts, a part of all of the data than another to be a small part of all of
