资源列表
FenwickTree
- 用树状数组实现子序列快速求和,C++源代码-Using the tree array to achieve the rapid summation of sub sequences, C++ source code
ex
- 最佳调度问题,假设有n个任务由k个可并行工作的机器完成。完成任务i需要的时间为ti。试设计一个算法找出完成这n个任务的最佳调度,使得完成全部任务的时间最早。
same
- 有时需要测试2 个数据结构的同构性,即2个同构的结构在相应的位置具有相同结点数 和分枝数。试设计一个递归函数用于测试2 棵二叉树是否同构。
shiyan1-1
- 约瑟夫环的源码,数据结构的相关实验,本人自己写的,完全通过编译
实现顺序栈的各种基本运算
- 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
BTree
- 二叉树的基本操作 建立 求高度 求节点数 以及三种基本遍历-Basic operation of the binary tree nodes attempt to find a high demand and the three basic traversal
BiTREE
- 二叉树基础算法的多种实现,vc++6.0下编译成功,包括前序后序中序的递归非递归算法等。-Binary tree algorithm based on a variety of implementation
EightQuee
- 数据结构C语言版_八皇后,数据结结C语言版的源码,清华版的-eight quee for DS
mergeSort.cpp.tar
- 这是一个二路归并排序的算法源程序,算法被单独写成一个函数,希望对大家有用-This is a Road merge sort algorithm source code, algorithms are written as a separate function, we hope to be useful
Hierarchical-traversal
- 该算法是数据结构中的层次遍历算法,能够直接运行使用,欢迎下载-The algorithm is the data structure of the hierarchical traversal algorithm, can be directly run to use, welcome to download
bitsort
- 不错的排序算法。快速而且占用内存少,不过仅对不重复数据进行排序,如果出现重复,需要另加索引!-good sorting algorithm. Rapid and less memory, but only to not repeat data sorting, if duplication, and the need for indexing plus!
q
- 迷宫,数据结构,C语言,算是一个很实用的程序-Maze, data structures, C language, be regarded as a very practical program