资源列表
[数据结构常用算法] shuffle-cards
说明:洗牌算法,把一副牌随机的依次发给四个玩家。-Shuffling algorithm, the random order of a deck of cards issued to four players.<王乐> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Data-Structure
说明:包含了数据结构中的一些经典算法,并对各种排序算法进行了总结,比较了各排序算法的时间性能。-This source contains a number of classic algorithms of data structure, and summarized various sorting algorithms and compared the time performance of the sorting algorithms.<丁丁> 在 2025-06-17 上传 | 大小:11.58mb | 下载:0
[数据结构常用算法] eightqueens
说明:算法中的经典问题:八皇后问题,回溯法的重要应用-eightqueens in C language<linmeng> 在 2025-06-17 上传 | 大小:161kb | 下载:0
[数据结构常用算法] trees
说明:二叉树也是递归定义的,其结点有左右子树之分,逻辑上二叉树有五种基本形态: (1)空二叉树——(a); (2)只有一个根结点的二叉树——(b); (3)右子树为空的二叉树——(c); (4)左子树为空的二叉树——(d); (5)完全二叉树——(e)注意:尽管二叉树与树有许多相似之处,但二叉树不是树的特殊情形。 -Binary tree is recursively defined, and its sub-tree nodes are so divided, there are five ba<zn> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] hufmtree
说明:给定n个权值作为n个叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树(Huffman tree)。 -Given the right value as the n-n-leaf node, a binary tree structure, if the minimum weighted path length, saying such a binary tree for the optimal binary tree, also called Hu<zn> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] link
说明:单链表是一种顺序存取的结构,为找第 i 个数据元素,必须先找到第 i-1 个数据元素。因此,查找第 i 个数据元素的基本操作为:移动指针,比较 j 和 i -Linked list structure is a sequential access for the data elements to find the first i must first find the first i-1 data elements. Therefore, the first i find the basic o<zn> 在 2025-06-17 上传 | 大小:4kb | 下载:0