资源列表
Data_struct_2
- 数据结构课后设计题第二章(2009-06-17 23:19:42)转载标签:数据结构第二章杂谈 分类:编程 ◆2.11② 设顺序表L中的数据元素递增有序。 试写一算法,将x插入到L的适当位置上,并保 持该表的有序性。 要求实现下列函数: void InsertOrderList(SqList &L, ElemType x) 顺序表类型定义如下: typedef struct { ElemType *elem int length
data_struct3
- 数据结构课后设计题第三章 ◆3.17③ 试写一个算法,识别依次读入的一个以@ 为结束符的字符序列是否为形如 序列1&序列2 模式 的字符序列。其中序列1和序列2中都不含字符 & , 且序列2是序列1的逆序列。例如, a+b&b+a 是属该 模式的字符序列,而 1+3&3-1 则不是。 实现下列函数: Status match(char *str) -Data structure design question after class Chapter ◆
data_struct6
- 数据结构课后设计题第六章 6.33③ 假定用两个一维数组L[1..n]和R[1..n]作为 有n个结点的二叉树的存储结构, L[i]和R[i]分别指 示结点i的左孩子和右孩子,0表示空。试写一个算法 判别结点u是否为结点v的子孙。-Data structure design question after class VI 6.33 ③ assumed with two one-dimensional array L [1 .. n] and R [1 .. n] as an
data_struct9
- 数据结构课后设计题第九章 9.26② 试将折半查找算法改写成递归算法。 实现下列函数: int BinSearch(SSTable s, int low, int high, KeyType k) 静态查找表的类型SSTable定义如下:-Data structure design question after class IX 9.26 ② would try to rewrite the binary search algorithm int
data_struct5
- 数据结构课后设计题第五章 5.23② 三元组表的一种变型是,从三元组表中去掉 行下标域得到二元组表,另设一个行起始向量,其每 个分量是二元组表的一个下标值,指示该行中第一个 非零元素在二元组表中的起始位置。试编写一个算法, 由矩阵元素的下标值i,j求矩阵元素。试讨论这种方 法和三元组表相比有什么优缺点。-After-school design of data structure problems Chapter 5.23 ② triple a variant of
sort
- spim的冒泡排序,里面是源码,可以实现的-spim of bubble sort,spim is a self-contained simulator that will run MIPS32 assembly language programs. It reads and executes assembly language programs written for this processor. spim also provides a simple debugger and minima
Arithmetic_ex_wangxiaodong
- 清华版(王晓东)算法设计与分析课后详解答案-The detail answer for Arithmetic design
topologywaytoarrangecourses
- 用拓扑排序实现对学生整个大学学期内的课程的自动安排-a easy fuction to arrange the courses of student
Datastruct
- 实现数据结构中的队列,堆栈,二叉树,还有众多的排序算法。-inplemented data stricture such as queue,stack,tree and there are many alogrithm about sorting
tongxin
- 图的最小生成树,数据结构中实现N个城市之间通信的程序,希望有用!-Minimum spanning tree graph, the data structure to achieve communication between N cities in the procedure, hope helpful!
daima
- 顺序表的基本操作实现 运用该代码来实现基本表的操作-Sequential List s base operate realization
mixed_sorting
- 实现快速排序与直接选择排序相结合的排序算法。要求对输入的序列,用Partition过程分割成每10个记录为一组的子序列,然后再对每个子序列实施直接选择排序。-Quick sort and the combination of direct selection sort sorting algorithm. Require the input sequence, with the Partition process is divided into 10 records for a group of
