搜索资源列表
halfsearch
- 利用顺序表实现折半查找,并且提高查找效率
xianxing
- 1.输入一组整型元素序列,建立顺序表。 2.实现该顺序表的遍历。 3.在该顺序表中进行顺序查找某一元素,查找成功返回 1,否则返回 0。 4.判断该顺序表中元素是否对称,对称返回1,否则返回0。 5.实现把该表中所有奇数排在偶数之前,即表的前面为奇数,后面为偶数。 6.输入整型元素序列利用有序表插入算法建立一个有序表。 7.利用算法 6 建立两个非递减有序表并把它们合并成一个非递减有序表。 8.编写一个主函数,调试上述算法。 * 9
线性表的顺序存储实现
- 线性表的顺序存储实现-linear sequence table to achieve storage
顺序表的就地逆置
- 试写一算法,实现顺序表的就地逆置,即利用原表的存储空间将线性表(a1,a2,...,an)逆置为(an,an-1,...,a1).-try to write an algorithm to achieve the order form in situ reverse home, namely the use of the original table of linear storage space (a1, a2 ,..., an) inverse home (an, an-1 ,..., a1
Compute
- 用栈、顺序表实现四则运算,可以识别+、-、*、/、和[],以#结尾。比如,5+6*(3-1)#,可以得到结果17-With stack, the order of Table 4 realize computing, can be identified and+,-,*,/, [], with# at the end. For example, 5+6* [3-1]#, can be the result of 17
tushujieyue
- 图书借阅管理:使用链表或顺序表实现图书添加、图书查询、图书资料删除、借书、还书、增加会员、查询会员、删除会员、查询会员借书信息、输出显示等功能; 建立测试的数据表,至少要有10本图书及10个会员测试数据,算法对于这些合法的输入数据都能产生满足规格说明要求的结果; -Book Lending Management: the use of linked list or the realization of the order form to add books, book informati
orderform
- 转置和删除函数顺序表实现,CPP文件,用于学校实验报告用.-Transpose function and delete the realization of the order form, CPP document, report for school experiments.
ArrayLlist
- 分别用顺序表和单链表作为存储结构,完成:(1)实现线性表(a0, a1, a2, a3, …,an-1)就地逆置的操作。(2)实现将x插入一个递增有序表L中,并使L仍是一个有序表。(3)实现统计在一个输入字符串中各个不同字符出现的频度。 -Were used to sequence the table and a single list as the storage structure, completed: (1) to achieve a linear form (a0, a1, a2, a
5
- 本程序提供了用顺序表实现字典的情况下 的顺序检索算法-This procedure provides a realization of a dictionary with the order form under the order of retrieval algorithms
shunxubiao
- 顺序表实现 环境是VS2010 需要的孩子可以下-Sequence table to achieve environmental needs of children can be under VS2010
SearchDemo
- 用MFC采用顺序表实现线性表的插入和删除,显示操作-Using MFC to achieve a linear form using the order form insert and delete, display operation
arrList
- 数据结构与算法-顺序表,vc++6.0,张铭版(Data structures and algorithms - arrList, vc++6.0, Zhang Ming)
线性表的实现
- 数据结构线性表顺序表c语言的实现,顺序表表示的是用一组地址连续的存储单元依次存储线性表的数据元素,所以顺序结构的实现一般采用数组的方式来实现,存储空间也采用动态分配的方式。在定义中用一个ElemType * elem表示基地址,int length 表示当前长度,int listsize表示数组的大小。(Linear table data structure to achieve the order form of the C language, the order of the table i
顺序表(最优实现)
- 顺序表的元素增加 删除 查找等 C++实现(The C++ implementation of adding, deleting and searching the elements of the sequential table)
顺序表
- 学习数据结构的顺序表的操作,并编程用顺序表分别实现两个顺序表中数据的合并,并排列大小。(Learning the operation of the sequence table of data structure, and programming the merging of data in two sequential tables with sequence tables, and arranging the size.)
数据结构-单链表-实验报告
- 1.实验目的及要求 1.1实验目的: (1)掌握线性表的顺序存储结构; (2)验证单链表及其基本操作的实现; (3)进一步理解算法与程序的关系,能够将单链表算法转换为对应的程序。 1.2 实验要求: (1)用头插法(或尾插法)建立带头结点的单链表; (2)对已建立的单链表实现插入、删除、查找等基本操作。(1 the purpose and requirements of the experiment 1.1 the purpose of the experiment:
Linear
- 数据结构算法实现 链表及顺序表的基本操作,(Algorithm implementation chain table)
数据结构实验1
- 用C实现数据结构顺序表的基本功能,包括顺序表的创建、插入、删除顺序表中的元素等功能(Implementing the basic functions of a data structure sequence table with C)
基于二分查找的有序符号表
- 基于平行数组与二分查找的有序符号表是《算法》中的经典查找算法,本程序使用 Python 语言,实现有序符号表。 ST.py 包含两个类,ST 和 OrderedST。 ST是无序的符号表,基于链表实现。按照顺序将键值对插入链表。 OrderedST 则是基于平行数组的有序符号表。在进行查找的时候,使用 二分查找 算法。(The ordered symbol table based on parallel array and two point lookup is the classic
顺序表
- 设计内容:自行产生10000个0到9999之间的随机数,按照产生的顺序依次把它们存放到一个数据文件中。然后设计程序实现以下功能。 功能要求:(1)定义一个非递减有序、最大长度为10000的顺序表,初始表为空;(2)从已经产生的数据文件中依次取出前n个随机数,并依次插入到有序顺序表中。插入完成后输出顺序表的全部元素;(3)对已经插入数据元素的顺序表,按照表中元素在数据文件中的顺序逐个将元素删除,直到表空;(4)在一个顺序表中查找给定的整数,并报告查找结果;(5)将两个顺序表合并成一个顺序表并输出