资源列表
jiandanxuanze
- 基本思想: 设所排序序列的记录个数为n。i取1,2,…,n-1,从所有n-i+1个记录(R,R[i+1],…,R[n]中找出排序码最小的记录,与第i个记录交换。执行n-1趟 后就完成了记录序列的排序。 -The basic idea: set up the sort of record sequence number for n. i get 1,2, ..., n-1, from all n-i+ 1 record (R, R [i+ 1], ..., R [n] in orde
C++paixu
- 编写一个程序,用菜单选择各种排序算法,对所给数据进行排序,并显示排序前与排序后的结果。-The preparation of a program, using menu to select a variety of sorting algorithms, to data of the sort, and display the sort order before and after results.
find
- 哈希表的建立、查找。设有若干个学生的考试成绩,用学生的学号作为关键字,采用除留余数求哈希地址,将学生的信息存储到该地址空间,并且采用线性探测法解决冲突问题。-The establishment of hash table to find. There are a number of students in examinations, with students as No. keywords used in addition to stay for more than a few hash ad
C_TREE
- 本例题将介绍一种建立二叉树的算法。同时介绍对“遍历算法”灵活应用:将二叉树中每个结点的左右子树进行交换。介绍求二叉树深度的算法。 二叉树的建立是一个递归方法,与二叉树先序遍历思路有点相似。数据的组织是先序遍历的顺序,但是当某结点的某孩子为空时以数据0来充当,也要输入。结合右图的二叉树,其数据的输入顺序应该是: 1 2 4 0 0 0 3 5 0 7 0 0 6 8 0 0 9 0 0。 若当前数据不为0,则申请一个结点存入当前数据。如果输入0表明是空(NULL),不分配结点。递归调用
C_string
- 本程序的串编辑要求对串实现以下四种功能: (1)取子串:从给定串中取出定长的子串; (2)插入:把一个字符串插入到给定串的指定位置; (3)删除:将串中某指定位置开始的若干字符从串中删除; (4)联接串:把一个字符串插入到给定串的最后一个字符之后。-This procedure requires editing the string string to achieve the following four functions: (1) check substring: from
1
- 用数据结构实现了数据结构学习中卖衣服的模拟,是学习数据结构的实验例子-Data structure used to achieve a data structure to learn selling clothes in the simulation, is to learn from examples of experimental data structure
DataSructure
- 这是C语言版的数据结构资料,适合编程的初学者。-This is the C language version of the data structure of information, suitable for beginners programming.
suanfaC
- 常用的算法,用C实现的,挺有用的。看看吧-Commonly used algorithms, using C to achieve, quite useless. Take a look at it
pre
- 以先序之方法遍历二叉树,以递归方法和非递归方法分别实现。-To preorder tree traversal methods to recursive methods and the realization of non-recursive method, respectively.
lab3
- 在C语言环境下编写的利用队列计算向量的+,-,内积。-In the C language environment prepared calculated using queue vector ,-, inner product.
DataStructurePart1
- 学校老师上课的讲义和习题解答。数据结构的线性表部分。-School teachers class lectures and exercises to answer. Data structure part of the linear form.
DataStructurePart2
- 学校老师上课的讲义和习题解答。这一部分关于栈和队列。-School teachers class lectures and exercises to answer. This part on the stack and queue.
