搜索资源列表
实现顺序栈的各种基本运算
- 1、编写一个程序algo3-1.cpp,实现顺序栈的各种基本运算,并在此基础上设计一个主程序实现如下功能: (1)初始化栈S。 (2)判断栈S是否非空。 (3)依次进栈元素a,b,c,d,e。 (4)判断栈S是否非空。 (5)输出栈的长度。 (6)输出从栈顶到栈底的元素。 (7)输出出栈序列。 (8)判断栈S是否非空。 (9)释放栈 ,1, the preparation of a program algo3-1.cpp, the realization of
second
- 完成一个程序实现双向链表使之有如下功能 (如用C++实现,需要有默认的构造函数, 析构函数) C语言实现,初始化一个双向链表 添加一个元素到链表 删除链表中的一个元素 其他你认为必要的链表操作 总有两个指针,一个指向表中第一个元素另一个指向最后一个元素 -Completion of a program to achieve a two-way linked list so that the following functions (such as C++ Reali
suanshubiaodashi
- 这是我的数据结构课程设计,1. 初始化两个空栈,一个是操作符栈,一个是操作数栈。2. 如果字符是操作数,将它压入操作数栈。 如果字符是个操作符,则和运算符栈顶的运算符比较优先权后作相应操作,优先技小泽压入栈,大于则将栈顶的运算符出栈,并将运算数栈顶的两个数出栈进行运算。等于,则弹出操作符。-This is my data structure of the curriculum design, 1. Initialize two empty stacks, one stack operator,
traffic
- 利用邻接矩阵构造一张欧洲交通图,并求出某一城市到其余城市的最少票价路径或者最短里程路径,并打印输出。 程序执行的命令包括: (1)初始化交通网络图并根据文件构造欧洲交通图;(2)用户先后输入“最优方式”和“始末城市名称”;(3)程序执行相关操作,打印出用户所需的信息;(4)结束。 -Adjacency matrix structure the use of a European transport plans, and obtained a city to the rest of t
090619
- 理解二叉树特别是完全二叉树的性质,掌握二叉树的存储结构(二叉链表);熟练掌握二叉树的常用操作算法(初始化、插入结点、删除结点、遍历等);初步掌握二叉树的应用。-Binary tree in particular, to understand fully the nature of binary tree, binary tree master storage structure (List Binary) proficiency in commonly used binary tree alg
Migong
- 自己写的c++链栈实现迷宫求解,可实现手动或自动初始化迷宫。-My own chain of stack c++ to achieve a maze solving, can be realized manually or automatically initialize the maze.
9PriorityQueue
- 数据结构:优先队列(最大堆、最大左高树)最大左高树的初始化使用了数组描述的队列-Data structure: priority queue (maximum heap, the largest left-high tree) to initialize the greatest left-high tree using the array described in the queue
dui
- 堆排序:用堆排序的方法对记录排序,初始化堆 ,整理堆 ,输出堆顶元素,并将最后一个元素放到堆顶位置,重新建堆。-Heap sort: The sort of method heap sort records, initialize heap, Heap, the top element of the output heap and stack the last element into the top position, re-built reactor.
prim
- 建立无向图,初始化矩阵,输出无向图的邻接矩阵-The establishment of an undirected graph, initialize the matrix, the output adjacency matrix of undirected graph
liststack
- 实现了链栈的初始化、进栈、出栈、取栈顶、置空操作.-Initialize the stack to achieve a chain, into the stack, the stack, take the stack, and placing air operation.
1111
- 数组实现循环链表 准备: 1. 队列空间的大小 maxsize 2.队首指针 front 3.队尾指针 rear 4.存储方式 动态数组 运算 出队,入队,初始化队列,创建队,释放队 5.a 动态数组的首地址-Prepared to achieve an array of circular linked list: 1. Queue space the size of the maxsize 2. Team first pointer front 3. Tail
shiyan12
- 数据结构二叉排序树操作实验 初始化,判断是否为空,查找元素,遍历,插入,删除-Data structures are binary sort tree operation experiment Initialize, determine whether is empty, the search elements, traverse, insert, and delete
xianxingbiaodecharuheshanchu
- 利用顺序表完成线性表信息的管理。要求首先建立并初始化线性表,并实现增加、删除、查找、修改和遍历表等功能。-To complete the order form using the linear form of information management. Requires first to create and initialize the linear form, and to achieve to add, delete, search, modify, and traverse the
The-achievement-SqList
- 编写C(C++)应用程序,实现顺序表上的各自操作:初始化,创建,显示,销毁,插入,删除,定位,求表长、“判空”以及合并两个顺序表。-Write C (C++) application, the order form to achieve their respective operations: initialize, create, display, destruction, insert, delete, locate, find the table length, " sub-spa
VCPPchuanyu
- 穿越丛林,演示如何让人越过障碍而前进,这是《学VC编游戏》的第五个示例,重点学习安排场景和解决对象遮档。操作方法: A、在场景内用鼠标点任意点,可指挥主角移动。 B、ESC键,退出游戏。 游戏编写方面主要使用了以下知识、技术。 1.类文件和建立方法,使用方法 2.调入场景文件,初始化场景。 3.冒泡法排序。 4.用冒泡法排序解决对象遮挡。 5.实用的无闪烁刷屏方法。-Through the jungle,
huffman
- 对任意输入的一段英文,为每个字符编制其相应的赫夫曼编码;并利用该编码为任意输入的0、1序列进行解码. 基本要求:一个完整的系统应具有以下功能: (1)初始化 从终端读入一段英文字符,统计每个字符出现的频率,建立赫夫曼树,并将该树存入某文件; (2)编码 利用建好的赫夫曼树对各字符进行编码,用列表的形式显示在屏幕上,并将编码结果存入另一文件中; (3)解码 利用保存的赫夫曼编码,对任意输入的0,1序列能正确解码; -Section for any input in Eng
hhhhy
- 1. 实现循环双链表各种基本运算的算法,完成如下功能: (1) 初始化循环双链表h; (2) 依次采用尾插法插入a, b, c, d, e元素; (3) 输出循环双链表h; (4) 输出循环双链表h长度; (5) 判断循环双链表h是否为空; (6) 输出循环双链表h的第3个元素; (7) 输出元素a的位置; (8) 在第4个元素位置上插入f元素; (9) 输出循环双链表h; (10) 删除h的第3个元素; (11) 输出循环双链表h; (12) 释
Heap-sort
- 堆排序 MFC 显示初始化的堆和排序后的堆。-Heap sort heap and initialize MFC display sorted heap.
Binary_tree
- 二叉树的C++实现,成员可以自己调整,实现了各种修剪此树的方法:初始化,增加节点,删去节点,复制树,读取节点,遍历树-Binary tree in C++, members can make their own adjustments to achieve a variety of pruning this tree methods: initialize, add nodes, delete nodes, copy the tree, read the node, traverse the t
SUDOKU
- 九宫格的数独问题,利用回溯法来求解,C#语言,包括:初始化及填数的步骤-Jiugongge Sudoku problem to solve using backtracking, C# language, including: the number of steps to initialize and fill
