搜索资源列表
DataStructureCourseDesign.zip
- 单链表中数据的插入和删除的数据结构课程设计报告,Single list of data insertion and deletion of the curriculum design of the data structure report
5
- 虽然每一款贪吃蛇的玩法都相同,但是编程的算法却不同,本贪吃蛇有要是应用到VC++的循环队列和简单链表原理实现的,用键盘上的W/A/S/D键分别控制蛇身移动,越接越长,在游戏开始前,蛇身、食物数量可以自己设置,提醒一下,这个游戏需要你的视力特别好哦,要不然看不清楚的。
c2
- 1、 有n个学生,每个学生有m门成绩,每个学生的m门成绩用一单链表实现,n个学生所对应n个单链表的头指针用一指针数组统一存放。 1) 建立该存贮结构。 2) 查找第i个学生的某门课成绩。 链表中结点结构: struct node {char *nam;/*nam为课程名*/ float sco;/*sco为该门课程的成绩*/ struct node *link;/*link为指向下一课程结点的指针*/ -1, there are n students, e
shiyan
- 本演示程序用TC编写,完成城市单链表的生成,查询城市名或坐标,插入新的城市信息,删除无用城市信息,城市范围信息,查找退出城市管理系统。-TC with the demo program to prepare, complete list of cities in a single generation, inquiry or city coordinates, insert a new city information, delete the useless city information,
Cpp1
- 单链表的实现,一条字符串,实现插入,删除,合并-Single linked list
5
- 若X和Y是用结点大小为1的单链表表示的串,设计算法找出X中第一个不在Y中出现的字符。-If X and Y is the size of a node, said the string of single linked list, the design algorithm to find X, Y does not appear in the first characters.
shujuku
- 单链表,二叉树,复杂表达式,图的课程设计。-Singly linked lists, binary trees, curriculum design is
ncgl
- 内涵两种内存管理代码!一种是自己编写的!一种是单链表做的!-Code of the Two Connotations memory management! One is to write your own! A single linked list to do!
listDelete
- 链表节点删除。链表的构建节点的删除。单链表。-List nodes removed. Linked list building node removal.
biancheng
- (1)编写一个程序实现如下功能:有4名学生,每个学生信息包含学号、姓名、数学成绩、英语成绩、C语言成绩和三门课程的总分,并对数据进行输入和输出(程序以文件名sy8_7.c存盘)。 (2) 编写一个程序实现如下功能:定义一个点的结构数据类型,实现下列功能: ①为点输入坐标值。 ②求两个点中点坐标。 ③求两点间距离。 (程序以文件名sy8_8.c存盘 (3)编写一个程序实现如下功能:建立一个单链表,每个结点数据要有职工号、工资。用一个creat函数来建立链表,用list函数输
2_1
- 逆转链表 设有一个表头指针为h的单链表。试设计一个算法,通过遍历一趟链表,将链表中所有结点的链接方向逆转。要求逆转结果链表的表头指针h指向原链表的最后一个结点-Reversal table pointer list with a single list of h. Try to design an algorithm to traverse a trip through the list, the list of all nodes linked direction reversal. Re
2_3
- 合并两个链表的程序段 ha和hb分别是两个带表头结点的非递减有序单链表的表头指针, 试设计一个算法, 将这两个有序链表合并成一个非递减有序的单链表。-Merge two lists block ha and hb are the two with a header node non-decreasing order single linked list head pointer, try to design an algorithm, these two ordered lists into
circular-linked-list-Josephus
- 约瑟夫环问题 【问题描述】 Josephus排列问题定义如下:假设n个竞赛者排成一个环形。给定一个正整数m≤n,从第1人开始,沿环计数,第m人出列。这个过程一直进行到所有人都出列为止。最后出列者为优胜者。全部出列次序定义了1,2,…n的一个排列。称为(n,m)Josephus排列。例如,(7,3)Josephus排列为3,6,2,7,5,1,4。 【实验要求】 设计求解Josephus排列问题程序。 (1)采用顺序表、单链表或双向循环链表等数据结构。 (2)采用双向循环
74-1
- 若干城市的信息存入一个带头结点的单链表,结点中的城市信息包括城市名、城市的位置坐标。要求: 给定一个城市名,返回其位置坐标。 给定一个位置坐标P和一个距离D,返回所有与P的距离小于等于D的城市。-1. The number of city information in a lead the singly linked list of nodes, node of city information including city name, the coordinates of th
SqList
- 数据结构单链表的简单的操作,包括几个重要函数。-Simple operation of a single linked list data structure, including several important functions.
single-linked
- 单链表的基本应用。在单链表中进行插入,删除,更新。-single linked list of basic applications.in a single linked list to insert delete update and other operations
bigBigInteger
- 使用单链表处理任意大的整数,可以进行两个整数之间的加法。-Use single list arbitrarily large integers can be the addition of two integers.
