资源列表
sortcompare
- 针对排序数据的多少,冒泡、快速、希尔排序算法的效率比较。-Compare the efficiency of several sorting methods
fenshu
- 用c++实现分数类的设计,包括算术运算,运算符重载等知识点-Fractional class using c++ design, including arithmetic, operator overloading and other knowledge
river
- 一个过河小游戏的程序实现,给出过河的具体解决方案-A small game program implements across the river, across the river to give specific solutions
Single-linked-list
- 已知一个带有表头结点的单链表,结点结构为 ,假设该链表只给出了头指针list。在不改变链表的前提下,请设计一个尽可能高效的算法,查找链表中倒数第k个位置上的结点(k为正整数)。若查找成功,算法输出该结点的data域的值,并返回1;否则,只返回0。 -Given a single linked list with a header node, node structure, assuming that the list gives only the head pointer list. On
Detailed-version-of-the-maze
- 本代码主要是实现了迷宫中如何探索路径的问题,其中主要运用了栈的知识。-The code is mainly realized how to explore the path of maze problem, which mainly uses the knowledge of the stack.
The-airport-scheduling-analysis
- 模拟一个机场飞机降落和起飞的过程。内容:一个小飞机场有1条跑道,在天上有一个队列的飞机准备降落,地上有一队列的飞机准备起飞,当然必须等天上的飞机全部降落完后才能开始起飞。-Simulate a process of airport landing and take-off. Content: a small airport one runway, there is a queue in the sky of the plane to land, a queue for the plane ta
Random-number-generate
- 任意区间的随机数产生数据结构算法,其最大的亮点是任意区间,这个区间是需要人为的去设定的,-Any range of random Numbers generated data structure algorithm, and its biggest bright spot is any interval, the interval is the need for human to set,
number-interval
- 输入一个整数,将各位数字反转后输出,输入一个0~6的整数,转换成星期输出-Enter an integer, will you digital output after inversion, input a integer 0 to 6, the output into a week
ETC
- 出入校门的ETC收费信息记录程序,用数据结构的链表写成,具有自动计算费用,停车时间,总停车时间,停车次数等功能。-In and out of the gate charge cookies ETC, written in the list of data structure, with automatic calculation cost, parking time, total parking time, stops, and other functions.
allBtreebianli
- 集合了数据结构二叉树的基本知识,讲解了二叉树的几种遍历,先序中序后序遍历的递归非递归用法-A collection of basics binary tree data structure, explain several binary tree traversal, after the first sequence in order preorder recursive non-recursive Usage
A_Star
- A*寻路算法演示程序,使用MFC开发,简单实用-A* pathfinding algorithm demo program, developed using MFC, simple and practical
n_queen
- 在n×n格的棋盘上放置彼此不受攻击的n个皇后,按照国际象棋的规则,皇后可以攻击与之处在同一行或同一列或同一斜线上的棋子,求解可以放置的方法种数。-Placed on the n × n chessboard grid attack each other n-queens, in accordance with the rules of chess, the queen can attack in the same row or column, or diagonal pieces of the
