快速排序(数组和链表) 数组和链表.pdf
2022-04-18 14:07:33 88KB 链表 排序算法 算法 数据结构
[算法]快速排序,归并排序,堆排序的数组和单链表实现 数组和链表.pdf
2022-04-18 14:07:13 1.22MB 算法 链表 排序算法 数据结构
[算法]快速排序,归并排序,堆排序的数组和单链表实现 (1) 数组和链表.pdf
2022-04-18 14:07:12 1.22MB 算法 链表 排序算法 数据结构
归并排序(链表和数组) 数组和链表.pdf
2022-04-18 14:07:12 46KB 链表 排序算法 算法 list
学生在c语言学习中实验题目,包括单链表,指针,排序,单链表的插入,删除等
2021-12-16 20:00:11 30KB 单链表 排序 节点增加删除
1
冒泡排序、快速排序、归并排序,向链表中添加和删除数据
2021-12-15 19:51:32 3KB C语言
1
我是辽宁工业大学07级学生,为了参加本校的C语言大赛,复习时编了这个程序,拿来跟大家分享一下,希望我们能共同进步!这个程序涉及单向链表的“创建”、“结点删除”、“查找”、“筛选”、“结点插入”、“结点排序”几项内容,并且已在必要的地方写了注释,方便大家阅读程序。本人编此程序花了不少心思,向大家要的分多了点,但绝对物有所值,下了你就知道!
2021-12-14 09:47:48 79KB C+语言+单向链表+排序+筛选
1
北邮 数据结构 实验一 单链表创建 排序 含代码
2021-12-12 20:04:17 184KB 数据结构 单链表 含代码
1
本次实验设计了一个学生管理系统。学生管理系统对数据的存储可以是顺序结构,也可以是链式结构。由于顺序结构存储时用的是一段连续的存储空间,不适合存储大量的信息量,因此本人使用单链表的数据结构来对学生的信息进行管理。本次课程设计中,学生的信息分为了四大项,分别是学生的学号、姓名、年龄、成绩,这四项一起作为链表节点的数据部分。本次数据结构课程设计摒弃了传统的面向过程程序设计思想(如C程序设计),引进了当今比较流行的程序设计理念:面向对象(如C++程序设计)。这使得程序的各个功能更加模块化,系统化,用类把成员变量和成员方法封装起来,使开发变得更有效率,结构更加清晰。 关键词: 学生信息管理,链式存储结构,面向对象程序设计 Student Information Management System LIling (Oriental Institute of Science and Technology College,Class3) Abstract: The experimental design of a student management system. Student management system for data storage may be the order of the structure, it could be a chain structure. As the structure of the store when the order is for a period of storage space, not suitable for storing large amount of information, so I use a single list of the data structure to the students of information management. The curriculum design, student information has been divided into four categories, namely, students, name, age, the results of these four nodes together as a list of some of the data. The data structure of the curriculum design to abandon the traditional process-oriented programming ideas (such as the C programming), today introduced a more popular programming ideas: object-oriented (such as C + + programming). This program features all the more modular, systematic, with the members of the class of members of the variables and methods of packaging, so that the development of more efficient, more clear structure. Key words: student information management, chain store structure, object-oriented programming 导入语:学生信息管理分为了九大项:链表的创建、输出、插入、删除、查询、显示学生总数、按照成绩排序、显示不及格的人数、退出系统。 一、需求分析 学生信息管理系统是现实生活中比较常见的系统,它主要负责对学生信息的管理。 学生管理系统所要解决的问题是: (1)建立一个学生管理的链表 (2)数据的插入 (3)数据的删除 (4)信息的显示 (5)信息的查找 (6)学生总数的显示 (7)根据学生的成绩进行排序 (8)统计不及格的人数并显示出来
1
C语言结构体链表的排序方法汇总 ========================== 功能:选择排序(由小到大) 返回:指向链表表头的指针 ========================== */ /* 选择排序的基本思想就是反复从还未排好序的那些节点中, 选出键值(就是用它排序的字段,我们取学号num为键值)最小的节点, 依次重新组合成一个链表。 我认为写链表这类程序,关键是理解: head存储的是第一个节点的地址,head->next存储的是第二个节点的地址; 任意一个节点p的地址,只能通过它前一个节点的next来求得。
2021-09-05 01:57:11 10KB 链表 排序 汇总 结构体
1