搜索资源列表
erchashu
- 二叉树按照二叉链表方式存储,编写算法,将二叉树左右子树进行交换。实现建立二叉树,输出未交换前的中序遍历序列、交换左右子树、输出交换后的中序序列功能。-Binary tree binary list stored in accordance with, the preparation method, the binary exchange of left and right subtrees. To achieve the establishment of a binary tree, outpu
Urban-travel-issues
- 城市出行问题。某城市有若干中心区,在一些中心区之间存在道路相连。这些道路中的一些已开通了公交线路。需要在中心区间旅行的人们有如下几种交通方式可供选择: 1.骑自行车,平均速度15km/h。 2.公交与步行结合,不同道路的公交车平均速度不同,标注于下图的B 中,B=0 代表这 条道路尚未开通公交线路,步行的平均速度为5km/h。允许搭乘公交与步行两种方式自由进 行组合,切换的次数不限。 3.自驾车,不同道路的平均速度不同。 现在你要从区域A 出发要区域B,由于时间紧迫,请提
biancheng1
- 编程实现希尔、快速、堆排序、归并排序算法,并计算每种算法的比较、交换次数、执行时间。要求准备不同数量级(100、1000、10000、20000)的待排数据存入文件;再从文件读入数据,排序;将结果写入文件中。-Programming Hill, quick, heap sort, merge sort algorithm, and calculate for each algorithm, switching frequency, the execution time. Asked to pre
POJ-1890-Switching-Channels
- POJ 1890 Switching Channels. 搜索算法的练习题。-POJ 1890 Switching Channels. Exercises of the search algorithm.
Tree-traversal
- 树的遍历。树的缩格打印、先根遍历,中根遍历,后根遍历的递归非递归调用,交换左右子树递归调用。-Tree traversal. Tree indent printing, the first root traversal, traversing root, root recursive traversal non-recursive calls, switching left and right subtrees recursively.
