Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - exchange
Search - exchange - List
交换二叉数的左右孩子,如果只有一个孩子则把它移到另一边-exchange of the two forks around a few children, if only one child put it moved to the other side
Date : 2025-12-22 Size : 1kb User : 吴伟

利用BFS算法解八数码问题 在3*3的方格上放着1-8数码,有一空格为0变化规则为空格可以和上,下,右,左四个相邻的数字互换, 至到和目标状态相等, 每一种状态用一个结点表示 而每个结点每次变化最多有四种结点,将这些结点依次入队列中, 例如初始结点S0,入队列后出队,将S0变化最多产生的四种结点S01,S02,S03,S04依次入队列中, 当S01出队后,产生的四种结点S11,S12,S13,S14(实际上不会有四种结点)依次入队, 每次出队时与结束结点相比较,如果相等则退出, 为了,防止已经入队的结点再次入队,(这样会造成列循环),将每次入队的结点设置一个标识号, 四种变化即:向上,向下,向右,向左,我们要求向上和向下互斥,向右和向左互斥-use BFS Algorithm for eight in digital 3* 3, the box copy digital 1-8, 0 for a change in spacing rules for space and can, under the right, left four adjacent digital exchange, and to target state of the same, each state with a node and each said nodes changes each have up to four nodes, and these nodes will be followed into the queue, for example, the initial node S0, out into the queue after the teams will have the most S0 changes of the four nodes S01, S02, SO3, S04-followed cohort, when S01 out teams after the four nodes S11 , S12, S13, S14 (not, in fact, four nodes), followed by the team, each team up with the end node comparison, if the same were to withdraw from, in order to prevent the team has the guitar again joined the team, (this will lead out cycle), each of the team set up a
Date : 2025-12-22 Size : 13kb User : 刘少人

操作系统实验之一,模拟显示了页面交换过程。-experimental operating system, the simulation showed pages exchange process.
Date : 2025-12-22 Size : 86kb User : 李伟然

一个用C实现的堆排序问题算法,希望和大家交流-achieve a C sculptors scheduling algorithm, and you exchange
Date : 2025-12-22 Size : 4kb User : guoxingxi

用delphi实现的各种排序算法,图形界面,可实现插入排序、交换排序、选择排序、合并排序以及基数排序-used to achieve the various sequencing algorithms, graphical interface, insert can be realized, in order of ranking exchange, SELECTION SORT, the merger sort of base sequencing
Date : 2025-12-22 Size : 170kb User : llxxff

猴子选大王,c语言,有源码,有注释,可供使用交流。-election monkey king, c language, the source code, notes, the availability of the exchange.
Date : 2025-12-22 Size : 170kb User : 杨琳琳

链表与数组的数据交换 数据结构的实验基本内容 讲数组中的数存进链表-chain with an array of data exchange data structure of the basic contents of the array of speakers for storing Chain
Date : 2025-12-22 Size : 9kb User : 张鹏宇

数据结构排序方法~`~~~~~~~~`交换次数和比较次数-data structure Sorting ~`~~~~~~~~` exchange and comparison of the number of frequency
Date : 2025-12-22 Size : 1kb User : 小美

主要实现了波兰式和逆波兰式的转换,可以用来进行数学计算,欢迎交流!-main Poland-Poland-and the inverse transformation can be used for mathematical calculations, the exchange welcome!
Date : 2025-12-22 Size : 63kb User : 张晓东

数据结构 二叉树算法集合为学习数据结构的同学提供帮助 互相交流-binary tree data structure set for the learning algorithm data structure to help students exchange
Date : 2025-12-22 Size : 249kb User :

DL : 0
poj1411请多指教,多交流 0ms 交流算法-Please advice poj1411, more exchanges 0ms exchange algorithm
Date : 2025-12-22 Size : 1kb User :

改进的排序算法分析程序,使用CPU内核计数器精确各种计算排序时间,并且记录比较次数和交换次数,强烈建议希望研究算法者仔细研究。-Improved Sorting Algorithm analysis program, using a variety of CPU cores Counter precise calculation of time to sort and compare records of the number and frequency of exchange, we strongly recommend those who wish to study carefully studied algorithm.
Date : 2025-12-22 Size : 93kb User : 人民币

该程序使用C语言实现对重要数据结构——结构体的相关操作,实现了对结构体元素的访问和位置的交换-The program uses C language to achieve an important data structure- the structure of the related operations, the realization of the elements of the structure and location of the exchange visit
Date : 2025-12-22 Size : 1kb User : 韩璐

自己做的用队列操作类,希望和大家互相交流-Own use queue operation category, hope and we can exchange ideas
Date : 2025-12-22 Size : 455kb User : 朱宇杰

DL : 0
二叉树的操作 基本要求: 1、用二叉链表作为存储结构,建立一棵二叉树。 2、分别按先序、中序和后序遍历二叉树,输出各遍历序列。 3、编写交换二叉树中所有结点左右孩子的非递归算法。-The basic requirements for the operation of binary tree: 1, used as a binary linked list storage structure, the establishment of a binary tree. 2, respectively, according to first order, in sequence and post-order tree traversal, the output of the traversal sequence. 3, prepared by the exchange of binary tree all nodes about their children s non-recursive algorithm.
Date : 2025-12-22 Size : 2kb User : zhouhaoran

冒泡法是数据排序的一种基本算法,它的基本方法是:相邻两元素进行比较,如有需要则进行交换, 每完成一次循环就将最小元素排在最后(如从大到小排序),下一次循环是将其他的数进行类似操作? 如将N 个数按从大到小排序,Turbo C语言程序函数-Bubble sort is one of the basic data algorithm, and its basic method is: to compare two adjacent elements, if necessary will carry out the exchange, each will complete a cycle at the end of the smallest elements (such as the smallest order ), the next cycle is a number of other similar operations? such as N by the smallest number of sorting, Turbo C language program function
Date : 2025-12-22 Size : 1kb User : 杨飞

C语言常用算法程序集,欢迎大家下载交流. -C language commonly used algorithm for assembly, welcome you to download the exchange.
Date : 2025-12-22 Size : 308kb User : Dennis

DL : 0
1、用二叉链表作为存储结构,建立一棵二叉树。 2、分别按先序、中序和后序遍历二叉树,输出各遍历序列。 3、编写交换二叉树中所有结点左右孩子的非递归算法。 提示: 可以基于后序遍历方法,实现交换二叉树每一结点的左右孩子。 -1, used as a binary linked list storage structure, the establishment of a binary tree. 2, respectively, according to first order, in sequence and post-order tree traversal, the output of the traversal sequence. 3, prepared by the exchange of binary tree all nodes about their children s non-recursive algorithm. Tip: after the traversal can be based on methods, to achieve the exchange of binary tree nodes around each child.
Date : 2025-12-22 Size : 2kb User :

这是一个二叉树左右子树交换的简单程序,希望对大家有用!-This is a binary tree so the simple sub-tree exchange procedures in the hope for all of us!
Date : 2025-12-22 Size : 149kb User : xiaowei

贪心算法求解货币兑换问题。算法里的经典问题,用C实现的,开发环境是vs2010-Greedy algorithm currency exchange issues
Date : 2025-12-22 Size : 1kb User : 牛海玲
« 12 3 4 5 6 7 8 9 10 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.