资源列表
[数据结构常用算法] Heap-sort
说明:堆排序 堆排序利用了大根堆(或小根堆)堆顶记录的关键字最大(或最小)这一特征,使得在当前无序区中选取最大(或最小)关键字的记录变得简单。 (1)用大根堆排序的基本思想 ① 先将初始文件R[1..n]建成一个大根堆,此堆为初始的无序区 ② 再将关键字最大的记录R[1](即堆顶)和无序区的最后一个记录R[n]交换,由此得到新的无序区R[1..n-1]和有序区R[n],且满足R[1..n-1].keys≤R[n].key ③由于交换后新的根R[1]可能违反堆性质,故应将当前无序区<周杨> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] shuzhizhuanhuan
说明:利用栈的基本知识实现了从十进制到比十更小的进制数的转换。并且运用了蓝底作为输出界面。-Basic knowledge of the use of stack convert from decimal to hexadecimal number smaller than ten. And the use of a blue background as the output interface.<南海> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] hash_mpq
说明:一个具体的hash实现方法,取自于暴雪公司的程序实现,使用多个hash value来同时验证hash的有效性,保证一次命中,实现效率非常高。-A specific hash method, derived from the Blizzard program achieved using multiple hash value to verify the validity of the hash at the same time, guarantee a hit, to achieve a ver<qingqing> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Bitreesearch
说明:算法设计与分析 实验 构造二叉排序树。进行中序遍历显示树的数据 包括主类和二叉树类和排序算法-Binary sort tree structure of algorithm design and analysis of experiments. The inorder traversal tree data including master classes and binary tree class and sort algorithms<xr0517> 在 2025-06-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] sectog-shmbolic
说明:kmeans算法实现 a simple k-means clustering routine returns the clus()<pbftordev> 在 2025-06-20 上传 | 大小:1kb | 下载:0