Description: 带表头结点单向链表的实现(包括链表初始化和头(尾)插入建链,元素的插入,删除,查找,链表的逆置,求表长,推出操作的实现)-Junction point of one-way linked list (including the insert to build a chain of linked list initialization and head (tail), element insertion, deletion, search, and the inverse set of the linked list, find the table long with a header, the introduction of operations to achieve) Platform: |
Size: 2048 |
Author:刘善梅 |
Hits:
Description: 实验一:链式基本操作的实现
【问题描述】
选择链式存储结构作为线性表的存储结构,设计一个程序实现线性表的基本操作
(包括建立、输出、插入、删除、查找、求表长和链表的逆置功能等)
【实验内容】
一、必做内容
菜单:
1.初始化
2.链表的建立
2.1头插入建链
2.2尾插入建链
3.插入
4.删除
5.查找
6.输出表长(即表中元素个数)
7.链表元素的逆置
8.退出-Experiment: chain of basic operations to achieve [Problem Description] select chain storage structure as a linear table storage structure, design a program to achieve the basic operation of the linear form (including the establishment of output, insert, delete, find, find the table long and inverse set of linked lists, etc.) experiment one, will do the contents of the menu: 1. initialize the establishment of the list 2.1 into 2.2 build chain insertion build chain. insertion 4. delete 5 Find 6 output table length (ie, the number of elements in the table) 7. linked list of elements of the inverse set 8. exit Platform: |
Size: 1024 |
Author:陈国泓 |
Hits:
Description: 运用基本的数据结构操作,实现简单的功能。其中INVERSE代码实现了一组至多组整形数在单链表中的反序输出操作;mypoly代码实现了多项式在单链表的加减法输出;operation代码实现了利用穿拼接出最大的整形数;括号配对1代码实现了一组至多组括号字符的用顺序栈检查配对情况;身高排序插入代码实现单链表的插入操作。-Using the basic data structure operations to achieve some simple functions. INVERSE code sets up a group of integers reverse order output operations in a single linked list mypoly code displays polynomial subtraction output in a link list operation code through the use of stitching the largest number of combination 括号配对1 code sets up a set of parentheses characters with a sequence of stack checking pairing 身高排序插入 code conducts singly linked list insertion.
Platform: |
Size: 3072 |
Author:杨光浦 |
Hits: