搜索资源列表
递归查找文件
- 递归查找文件: 有助于dephi初学者学习递归算法和window文件结构-recursive search documents : dephi help beginners learn recursive algorithm and the structure of the document window
递归
- 递归算法,字符串的倒序输出。-recursive algorithm, the reverse output string.
一个递归程序
- 射击运动员10发打中90环有多少种可能,递归算法-shooting 10 athletes hit the number 90 ring possible, recursive algorithm
语法分析之左递归实验
- 此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (1)把文法G的所有非终结符按任一种顺序排列成P1,P2,…Pn 按此顺序执行 (2)FOR i:=1 TO n DO BEGIN FOR j:=1 DO 把形如Pi→Pjγ的规则改写成 Pi→δ1γ δ2γ … δkγ。其中Pj→δ1 δ2 … δk是关于Pj的所有规则; 消除关于Pi规则的直接左递归性 END (3)化简由(2)所得的文法。即
非递归
- 数据结构 迷宫问题 迷宫非递归算法.rar-data structures, maze problem, non-recursive algorithm for maze problem
递归的哈密顿回路
- 递归的哈密顿回路,给定一个图,来求它的哈密顿回路
快速排序非递归算法(队列实现)
- 快速排序的非递归方法
polyfill
- 边界填充算法,将边界填充的递归算法转化成非递归-scan line seed fill
EdgeTrace
- 边界跟踪之Delphi源码,可以直接做为函数调用。利用递归算法,简单好用。-Boundary trace of the Delphi source code can be directly as a function call. The use of recursive algorithm, simple and easy to use.
1
- 一般最小二乘及其递归算法的例子及matlab代码-Least squares examples and matlab code
分别利用非尾递归和尾递归实现
- 分别利用非尾递归和尾递归实现第39级台阶问题,要求每一步只能迈上1个或2个台阶。且先迈左脚,然后左右交替,最后一步是迈右脚,也就是说一共要走偶数步。那么,上完39级台阶,有多少种不同的上法呢?
算法设计
- 问题描述:以一个m×n的长方形表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。 基本要求:首先实现一个以链表作存储结构的栈类型,然后编写一个求解迷宫的非递归程序。求得的通路以三元组(i,j,d)的形式输出,其中:(i,j)指示迷宫中的一个坐标,d表示走到下一坐标的方向。(Problem Descr iption: a m * n rectangle represents the maze, and 0 and 1 i
实验5-递归
- 数据结构的递归算法,为了帮助更好的理解递归……(Data structure recursive algorithm, in order to help better understand recursive......)
diguisuanfayuanli
- 这是一个关于递归算法原理的解释,很不错,请大神指点。(This is a recursive algorithm on the interpretation of the principle, very good, please great God pointing.)
八皇后问题的递归方法
- 该代码是解决经典问题——八皇后问题的C++实现,算法使用了递归的方法,简单易懂。(This C++ code is used for solving the traditional Eight Queen Problem.The algorithm uses recursive method and it is easy to understand.)
遍历二叉树
- 简单的二叉树通过递归算法遍历,先序遍历中序遍历和后序遍历。通过遍历对二叉树的结构有更深入的学习(Simple two tree traversal through recursive algorithm, first order traversal traversal and preorder traversal. Through traversal, the structure of the two fork tree has a more in-depth study)
recursion
- 几个c++递归算法,仅供参考,代码比较简单(Several c++ recursive algorithms, for reference only, relatively simple,good luck)
排序递归算法
- 数组做函数参数的退回问题 退回为一个指针, 1 正确做法:把数组的内存首地址和数组的有效长度传给被调用函数 2 //实参的a 和 形参的a 的数据类型本质不一样形参中的数组 ,编译器会把它当成指针处理 这是C语言的特色排序 本质也剖析 3 形参写在函数上,和写在函数内是一样的,只不过是具有对外的属性而已.(The return problem of the array as a function parameter is returned to a pointer, 1 corre
fibo
- 斐波那契数列,简单地说,起始两项为0和1,此后的项分别为它的前两项之后。本算法使用递归算法实现。(The Fibonacci sequence, simply said, starting two to 0 and 1, then were the top two after it. This algorithm is implemented by recursive algorithm.)
Hanoi
- 递归算法解决汉诺塔问题,将所有盘从A柱移动到C柱,在移动过程中可以借助B柱。(Solving Hanoi Tower problem by recursive algorithm)