资源列表
3
- 栈的应用:括号匹配.即先建立一个栈(这里采用顺序栈),把左括号压入栈中,只有碰到匹配的右括号时出栈,否则则是不匹配,当栈中没有元时,匹配成功。-Stack of applications: matching bracket. The first to create a stack in a sequential stack (here), the left parenthesis pressure into the stack, only touching the matching bracke
2
- 单链表的操作:已知一个有序单链表(从小到大排列),表头指针为head,编写一个算法向该单链表中插入一个元素为x的结点,使插入后该链表仍然有序。(该单链表带头结点)-Singly linked lists of operation: orderly known a singly linked list (since), the meter pointer to the head, write an algorithm to the inserted singly linked list node
Huffman
- 实现Huffman树的编写,及编码译码操作-The preparation of the Huffman tree, and the operation of the codec
binary-tree
- 1.掌握二叉树的概念和性质 2. 掌握完全二叉树存储结构。 3.掌握完全二叉树的基本操作 4.创建完全二叉树(用字母表示节点)(用顺序方式存储) 5.求二叉树的深度和叶子结点数 6.实现二叉树的前序、中序、后序和层次遍历。 7.查找给定结点的双亲、祖先和左右孩子节点。 -1. Grasp the concept and nature of the binary tree master the complete binary tree storage stru
1
- 任务分配问题 问题描述: N个任务分配给n个人,任务j分配给人i的成本是C[I,j],希望完成所有任务的成本最低,算法如何设计? 编程任务: 给定任务表示如下表,编程计算所需完成任务最低的成本。 数据输入: 请自己定义。 结果输出: 程序运行结束时,将计算结果输出到文件output.txt中。-Task allocation problem Problem Descr iption: the N tasks assigned to the n individual
ddeque
- 双端队列,两种方法实现,1种是数组,一种是vc里自带的容器,增长方向为对向增长-double deque
Graph
- 数据结构图的各种应用操作,Prim Dijkstra Floyd TopoSort Kruscal-various applications of operation of figure
ConvexHull
- C++ Convex Hull algorithm
duoxiangshi
- 这一个一元多项式的数据结构编程,经调试正确-A unary polynomial data structure programming, debugging
queue
- 《算法导论》里一个练习题stoogesort的代码-codes of stoogesort in Introduction to Algorithms
TSP-source-code
- C++环境下,用蚁群算法解决TSP旅行商问题-The TSP problem ant colony algorithm to solve the C++ environment
PermutationGeneration
- 《组合数学》中的全排列算法,实现了8种算法-" Math" in full alignment algorithm to achieve the 8 algorithms
