资源列表
[数据结构常用算法] heapsort
说明:从最后一个非叶子结点开始从后往前进行调整,保证了根下的所有子树都是最大堆,最后对根进行调整,使整棵二叉树为最大堆,保证了根结点为整棵数的最大值点,完成了建堆的过程,再将根结点跟最后一个结点进行交换,如此反复操作,则堆排序就完成了,其中堆排序的过程采用了满二叉树的概念。-From the final of a non-leaf node after the move began to be adjusted to ensure that the root of all sub-tree are t<溺所至> 在 2025-07-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] partner_choose
说明:题目:假设在周末舞会上,男士和女士进入舞厅时,各自排成一队。跳舞开始时,依次从男队和女队的队头上各出一人配成舞伴。若两队初始人数不相同,则较长的那一队中未配对者等待下一轮舞曲。现要求写一算法模拟上述舞伴配对问题。-Topic: the assumption that dance over the weekend, the men and women to enter the ballroom, the respective line up a team. Dance begins, follow<Furby> 在 2025-07-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] USACO3.2.5
说明:【USACO3.2.5】魔板 ,经典ACM题,采用BFS-[] USACO3.2.5 magic board, ACM Classic title, the use of BFS<liziyu> 在 2025-07-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] LBBL
说明:该程序实现链表的遍历功能,打印出相应的链表节点-The realization of the program list traversal function, print out the corresponding node list<yanyansama> 在 2025-07-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ECSBL
说明:该程序实现二叉树的遍历功能,能够打印出二叉树的节点-The program realization of the binary tree traversal function, is capable of printing out the binary tree node<yanyansama> 在 2025-07-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] mowangyuyan
说明:实现魔王语言程序,运用了数据结构中的队列。-Achieve devil language procedure, use of the data structure of the queue.<蔡吉欣> 在 2025-07-14 上传 | 大小:1kb | 下载:0