搜索资源列表
PostOrderTraverse
- 后序遍历非递归二叉树源代码 很简洁,很简洁,很简洁-non - recursive binary tree source code is very simple, very simple, very simple
7
- 采用递归和非递归,实现二叉树的链表储存,实现基本操作。
中序遍历的非递归算法
- 二叉树中序遍历的非递归算法-Binary preorder non - recursive algorithm
实验四
- 1.单链表的顺序查找, 2有序表的折半查找(用递归实现), 3有序表的折半查找(用非递归实现)。-1. Single-Chain order to find, orderly Table 2 BINARY SEARCH (using recursive), Table 3, orderly BINARY SEARCH (non - recursive).
DFS算法的非递归函数
- 我的数据结构作业 是比较经典的算法 请大家参考-operating data structure is more classical algorithm please refer to
knap
- 用贪婪法的策论,用非递归实现背包问题的求解,并求出放如背包中的物品.-greedy law with political discourse, the use of non - recursive Knapsack Problem Solving and sought release if the items backpack.
马踏棋盘127457
- 将马随即放在国际象棋的8×8棋盘Board[8][8]的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,……,64依次填入一个8×8的方阵,输出之。-Ma immediately on the international chess 8 8 chessboard Board [8] [8] of a box, MA by the rules of chess go mobile. Requi
迷宫求解的非递归算法
- #include #include #include #define N 20 int aa[N][N]; int yes=0; int x[100][2],n=0; void fun1(int (*aa)[N],int (*a)[N]); int fun(int (*a)[N],int i,int j); void begain(int (*t)[N]); void pr(int (*t)[N],int nn); void win(int (*t)[N]); void lose(); void
4
- 1.输入字符序列,建立二叉链表。 2.中序遍历二叉树:递归算法。 3.中序遍历二叉树:非递归算法。 4.求二叉树的高度。 5.求二叉树的叶子个数。 6.试编写交换以二叉链表作存储结构的二叉树中所有结点的左、右子树的算法。 7.建立中序线索二叉树,并实现中序遍历。 -1. Input sequence of characters, the establishment of binary list. 2. Inorder traversal binary tree:
stack
- 用非递归堆栈算法解决迷宫问题(入口出口可设置)-Stack with non-recursive algorithm to solve maze problems (import export can be set)
MaTaQiPan
- 将马随机放在国际象棋8*8的棋盘Board[8][8]的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘全部的64个方格。编制非递归程序,求出马的行走路线,-Horse
quicksort
- 用C语言实现了快速排序算法的非递归实现,方法比较有创意,有需要的可以研究一下-this is a C programme writed by C.
DFS
- DFS算法的非递归函数。DFS是求树的深度的深度优先算法-DFS algorithm of non-recursive function. DFS is seeking the depth of the tree depth-first algorithm
binarytreedepth
- 求二叉树的深度、前中后序遍历的非递归算法-Seeking depth of binary tree, before, during and after traversing a non-recursive algorithm
1
- 中序遍历递归与非递归,很简单的代码,就是这么简单!-#include "stdio.h" #include"stdlib.h" #define MAXSIZE 20 typedef int datatype typedef struct Node { datatype data struct Node*lchild struct Node*rchild }Btnode,*Btree typedef struct {
zhongxudiguiyufeidigui
- 中序递归与非递归,很简单的代码,请放心下载,无毒。-#include "stdio.h" #include"stdlib.h" #define MAXSIZE 20 typedef int datatype typedef struct Node { datatype data struct Node*lchild struct Node*rchild }Btnode,*Btree typedef struct {
sort
- 用非递归的算法对一组 数组进行排序,算法比较简单-Non-recursive algorithm to sort a set of array
paixu
- 这是一个非递归的归并排序程序,编程环境为Visual C-This is a program of the Non recursive merge sort.
SuDoku
- 模拟数独游戏写的一个程序。里面包涵了数独解谜收索算法(非递归)。-Analog Sudoku game to write a program. Which includes the sudoku puzzle closing the cable algorithm (non-recursive).
migong
- 迷宫求解:可以输入一个任意大小的迷宫数据,用非递归的方法求出一条走出迷宫的路径,并将路径输出 -Maze Solver: You can enter a maze of data of any size, with a non-recursive method get out of the maze of paths and path output