搜索资源列表
bbb
- 根据《算法与数据结构》课程的结构体系,设计一个基于DOS菜单的应用程序。要利用多级菜单实现各种功能。比如,主界面是大项,诸如线性表、栈与队列、串与数组及广义表等,子菜单使这些大项中的一些功能或者小项。要求所有子菜单退出到他的父菜单。-According to " Algorithms and Data Structures" course of the structural system, design a menu-based DOS applications. To ta
BBB
- 设有一个有向图存储在邻接表中。试设计一个算法,按深度优先搜索策略对其进行拓扑排序。并以右图为例检验你的算法的正确性。-There is a directed graph stored in the adjacent table. Trial design an algorithm, depth-first search strategy by the topology of its sort. And to test your example picture on the right algor
bbb
- 将排序算法中最简单的冒泡排序。所谓冒泡排序就是在每一次排序的过程中总有一个最大的值被移动到后面,值小的就像水泡一样浮到水面。-Will be the most simple sorting algorithm bubble sort. The so-called bubble sort is a sorting process for each total a maximum value is moved to the back, the value of small blisters Yi Y
bbb
- 算法都是一致,但顺序不一样,这直接点明了链表操作的核心——顺序,链表的算法主要难在顺序上。 逆序操作中,要将一个指针指向前一个节点,中间必然断开,这就需要两个指针指向断开处的一前一后。 上面两个程序都是这样,不同在于指针移动的位置。-i no englisk
