搜索资源列表
Joseph
- 编号为1,2,3,…,n的n个人按顺序针方向围坐一张圆桌旁,每个人手中持有 一个密码(正整数)。首先输入一个正整数作为报数上限值m,然后,从第一个人开始按顺序针方向自1开始顺序报数,报到m的人离开桌子,并将他手中的密码作为新的m值,从顺序针方向的下一个就坐在桌旁的人开始重新从1报数,如此下去,直至所有人全部离开桌旁为止。 算法思想: 用单循环链表来解决这一问题,实现的方法首先要定义链表结点,单循环链表的结点结构与一般单链表的结点结构完全相同,只是数据域用一个整数来表示;然后将它们组成
danlianbiao
- 建立一个单链表,有输入输出、插入删除、释放、查找的功能-A single list, there are input and output, insert delete, release, find the function
Student-Scholarship-System
- 学生奖学金评定系统 输入部分,要求用户能从屏幕上格式化输入所要求的数据项,例如添加信息的时候输入学生的基本信息:学号、姓名、性别、分数,本程序为方便调试可随机生成100个同学的信息并写入到当前目录中的stuinfo.txt文件中。 程序通过对stuinfo.txt文件的读取,得到大量学生的信息,通过使用插入排序方法,按照分数的高低进行降序排列,得到有序单链表。 然后通过对链表的操作进行学生信息的添加、查询、删除,在此过程中可随时对链表内修改过的信息进行保存。-Student S
CPP
- 1编程打印直角杨辉三角形 2 打鱼还是晒网 3古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 44. 输入两个字符串,从第一字符串中删除第二个字符串中所有的字符。例如,输入”They are students.”和”aeiou”,则删除之后的第一个字符串变成”Thy r stdnts.”。 5 实现一单链表的逆转。-Programming a print at right angles Triangl
C_list
- 讲述了链表的原理:单链表和双链表的原理,及链表的添加、删除和清空-Tells the story of chain table principle: single table and the principle of double linked list。And the list of add, delete and empty
LINKLIST
- 单链表的增删查改功能,可以实现单链表的创建、传入数据;并能实现对已有单链表的插入数据、删除数据等功能。-Single linked list of additions and deletions check change function, you can achieve the creation of a single list, incoming data insert data of existing single linked list, delete data and functio
line
- 单链表的,前插后插法,以及打印,删除,添加新结点-Single list, forward runs interpolation method, as well as print, delete, add new nodes
C
- C语言单链表问题,详细的实现了单链表的功能,并且还有录入文件的功能,删除文件内容的功能,通过单链表可以实现文件的录入,删除,查找,浏览,修改等功能.-C language singly linked lists, realized the function of singly linked list in detail, and the function of the input file, delete the file content function, through singly lin
RSLOEFASx
- 从单链表中删除指定的元素x 数据结构实验之一,很实用。-Removes the specified list of elements a single x One of the experimental data structure, it is practical.
单链表的建立、插入、删除、查找
- 用C++,实现单链表的建立、插入、删除、查找功能(link's create insert delete search)
数据结构城市链表
- 1. 城市链表 [问题描述] 将若干城市的信息,存入一个带头结点的单链表。结点中的城市信息包括:城市名,城市的位置坐标。要求能够利用城市名和位置坐标进行有关查找、插入、删除、更新等操作。 [基本要求] (1) 给定一个城市名,返回其位置坐标; (2) 给定一个位置坐标P和一个距离D,返回所有与P的距离小于等于D的城市。(1. City chain list [descr iption of the problem] The information of a number