搜索资源列表
shunxubiao
- 顺序表的实现,进栈,出栈操作的实现,c语言
class.cpp
- 数据结构问题 有序顺序表 功能:初始化、求元素个数、插入、删除、取出元素-Data structure ordered sequence table function: initialization, find the number of elements, insert, delete, remove elements
232
- 对顺序存储的线性表进行一些操作。主要包括:各种位置的插入、删除操作、显示数据、查找、更新、统计以及学生数据文件的读写操作等。要求线性表采用类的定义-The linear sequence of storage on some operating table. Include: a variety of locations to insert, delete operation, display data, search, updates, statistics, and student data
GraphTraversal
- 使用c语言,利用数据结构思想建立图的邻接表的存储结构,实现无向图的深度优先遍历和广度优先遍历。以用户指定的顶点为起点,分别输出每种遍历下的顶点访问序列。 设图的顶点不超过30个,每个顶点用一个编号表示(如果一个图有N个顶点,则它们的编号分别为1,2,…,N)。通过输入图的全部边输入一个图,每条边是两个顶点编号对,可以对边依附顶点编号的输入顺序作出限制(例如从小到大)。 -Using c language data structure used to establish the adjac
Cpp1
- 顺序表就地逆置,二叉数叶子节点个数帝圭算法-Reverse the order form on the spot home
algo2-1
- 实现顺序表的各种基本运算及其应用初始化输入输出等-The order of the table of basic operations
lanb4-1
- 编写程序,实现顺序表的输入、插入、删除、输出、逆序输出。 要求每个操作都用独立的函数编写,再在主函数中调用-Programming input sequence table, insert, delete, output and reverse output. Requires that each operation are written in a separate function, then call in the main function
shujujiegou
- 数据结构 代码集,包括顺序表,串,队列,图,等等十几的代码,内容详尽-Data structure code sets, including the sequence table, string, queue, Figure, and more than a dozen code detaile
nice
- 顺序表的创建,插入,输出,删除,且各个功能都在主函数中调用-Creation, insert, output by the sequence table, delete
LinkList
- 约瑟夫环用C++实现,利用顺序表实现的,是符合现在的c++格式-Josephus with C++ achieved using the order form to achieve, is in line with current c++ format
Design
- 求公交最短路线公交车有520条线路,地铁有两条线路。定义一个结构体Edge把一条线路的所有信息存储起来(包括线路名称,收费方式,行车方式,及各种行车方式所经过的站点和站点数)。然后用ReadData4()函数生成地铁站点所有边的情况。用ReadData3()函数将所有地铁转公交公交转地铁的边存储起来,ReadData3()用来读取地铁站点名。这些存储起来的边构成的是一个顺序表-Find the shortest route bus
1-1
- 逆转顺序表的函数 主函数中定义了一个表mylist01。我们要调用l_def01.cpp中的相关函数对其进行 初始化, 插入10个元素, 然后打印表中各个元素的值, 接下来调用rev_list()函数来逆转之。 最后再次打印表中各个元素的值,以做比较-Reverse the order of the table function main function defines a table mylist01. We want to call l_def01.cpp
1-2
- 出合并两个有序顺序表的 程序段。合并后的结果放到lc指向的表中。 原始表la、lb及合并后的表lc都是由小到 大排序的。-The merger of the two ordered sequence table block. The combined results into lc points table. Original table la, lb and lc are merged table ascending sort.
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)采用双向循环
yyy
- 顺序表的想光能的实现 使用codeblocks软件代开。-THIS IS C++
LinkList
- 数据结构顺序表的简单操作。几个重要函数。-Simple data structure sequence table.
xianxingbiao
- 实现顺序表的基本操作(最终提交“.cpp”) 程序要求: 先给出顺序表的类型定义 给出顺序表的如下基本操作的算法函数定义 构造一个空的线性表:InitList_Sq(SqList &L) 在顺序表L的第i个位置之前插入新的元素e:ListInsert_Sq(SqList &L, int I, ElemType e) 在顺序表L中删除第i个元素,并用e返回其值:ListDelete_Sq(SqList &L, int I, ElemTy
C-chengxu
- 线性顺序表插入与删除,C语言程序以及完成实验的结果示意截图。- U7EBF u6027 u987A u5E8F u8868 u63D2 u5165 u2E0E u5220 u9664 uFF0CC u8BED u8A00 u7A0B u5E8F u4EE5 u53CA u5B8C u6210 u5B9E u9A8C u7684 u7ED3 u679C u793A U610F u622A u56FE u3002
二叉链表
- 一、 实验目的 (一) 掌握二叉树的逻辑结构和二叉链表存储结构; (二) 验证二叉树的二叉存储和遍历及其基本操作的实现; (三) 理解算法与程序的关系,能够将顺序表算法转化为对应程序;(First, the purpose of the experiment (1) master the logical structure of the two tree and the storage structure of the two linked list; (two) verify the
Merge
- 1、分别用顺序表和链表实现 2、利用菜单选择相应功能 3、能连续执行两表合并(1. The implementation of the sequence table and the chain table 2. Use the menu to select the corresponding function 3. Continuous execution of two table merging)