-
这是用链表实现的栈数据结构。链表数据结构的最大优点是不受元素个数的限制,除非内存耗尽。...
这是用链表实现的栈数据结构。链表数据结构的最大优点是不受元素个数的限制,除非内存耗尽。-This is the stack implementation with linked list data structure. List data structure is not subject to the greatest advantage of the restricted number of elements, unless the memory run out.
- 2022-09-23 11:35:03下载
- 积分:1
-
根据先序和中序遍历的结果,重新构造二叉树
根据先序和中序遍历的结果,重新构造二叉树-According to the results of the PreOrder and InOrder visit,rebuild the bitree
- 2022-02-07 10:51:04下载
- 积分:1
-
遍历是二叉树经常要遇到的一种操作.可以运用到二叉树结点计数,线索化二叉树,求二叉树的深度,表达式求值等算法中.在遍历的过程中,对结点的访问具有普遍的含义,可以是...
遍历是二叉树经常要遇到的一种操作.可以运用到二叉树结点计数,线索化二叉树,求二叉树的深度,表达式求值等算法中.在遍历的过程中,对结点的访问具有普遍的含义,可以是输出各结点的数据域信息,也可以是对结点作其他处理.另外,通过一次完整的遍历,可使二叉树中结点信息由非线性排列变为某种意义上的线性排列.也就是说,遍历操作使非线性结构线性化.
-traverse binary tree is frequently encountered in a operation. Binary Tree can be applied to node count, clues of a binary tree, the binary tree for depth, in the expression evaluates such algorithm. the ergodic process, right node of the visit is universal meaning, it can be output in each node of data domain information, also be on the node for other treatment. Besides, a complete traversal, Binary enables information from the node into a nonlinear with a sense of linear order. In other words, Traversing operation nonlinear structure so linear.
- 2022-02-27 00:08:38下载
- 积分:1
-
VC how to operate the database of images field
VC编程中如何操作数据库中的图像字段-VC how to operate the database of images field
- 2023-06-20 07:00:03下载
- 积分:1
-
/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means...
迷宫算法(maze)
/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK,
* 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary.
* Each step can be made horizontally or vertically for one more grid (diagonal
* jump is not allowed).
* Your program should print a series of grid coordinates that start from m[0][0]
* and go to m[9][9]
* Hint: No need to find the shortest path, only need to find one path that gets
* you to desitination.
*/
-/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK,
* 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary.
* Each step can be made horizontally or vertically for one more grid (diagonal
* jump is not allowed).
* Your program should print a series of grid coordinates that start from m[0][0]
* and go to m[9][9]
* Hint: No need to find the shortest path, only need to find one path that gets
* you to desitination.
- 2022-08-08 06:28:42下载
- 积分:1
-
YAN Wei
严蔚敏的数据结构(C语言)源码,适合研究-YAN Wei-min data structure (C language) source code, suitable for research
- 2022-04-10 07:43:29下载
- 积分:1
-
求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下...
求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下一个人从1开始报数,再报数m的人便是第二个出列的人如此重复下去,直到最后一个人出列为止,于是便得到一个出列的顺序,这称之为约瑟夫(Josephu)问题。-solving problems. N individuals have formed a circle to sit down, all right Wai from the start from a position of No. 1, 2, 3, ..., n, for a number of people reported a few, according to several newspaper pay, the newspaper n ie the out, the next person was from the beginning a few , and reported m is the second out of this series continue to repeat until the final out in a series, then get a series out of order, which called Joseph (Josephu) problem.
- 2022-05-21 23:13:13下载
- 积分:1
-
学生信息管理系统,图书# 39的源代码。相对硅…
学生信息管理系统,书上的源代码。比较简单,可以供学习参考用。-Student Information Management System, the book" s source code. Relatively simple, can be used for study and reference.
- 2022-03-01 02:46:56下载
- 积分:1
-
回溯法 解决男女匹配问题 八男八女匹配
回溯法 解决男女匹配问题 八男八女匹配-Backtracking address gender matching eight men and eight women match
- 2023-02-19 02:00:03下载
- 积分:1
-
Students and implementation of database management, c language development envir...
学生数据库的管理与实现,c语言开发环境,功能齐全-Students and implementation of database management, c language development environment, full-featured
- 2022-04-21 23:20:32下载
- 积分:1