资源列表
[数据结构常用算法] tree
说明:设T是一棵具有n个结点的二叉树,若给定其先序和中序遍历序列,并假定其其先序和中序遍历序列分别存放于数组PreOder[n-1]和InOrder[n-1]中,试设计构造该二叉树链式存储结构的递归算法。-T is a set with n nodes of binary tree, if a given sequence and the sequence of its first traversal sequences, and assumed its first order and the ord<林小芬> 在 2025-06-19 上传 | 大小:267kb | 下载:0
[数据结构常用算法] ha
说明:假设哈希表长为m,哈希函为H(x),用链地址法处理冲突,试编写输入一组关键字并建造哈希表的算法。-Suppose the hash table length m, the hash function as H (x), treatment with a chain address the conflict and try to enter a keyword and the preparation of the construction of hash table algorithm.<林小芬> 在 2025-06-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] mergesort
说明:设有n个待排序元素存放在单链表中,每个链表结点只存放一个元素,头指针为r,试设计算法对其进行二路归并排序,要求不移动结点中的元素,只修改各链结点中的指针,排序后r仍指向结果链表的第一个结点。-With n-elements to be stored in a single list sorted, each linked list node store only one element, the first pointer to r, test their design algorithm fo<林小芬> 在 2025-06-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Select_Sort
说明:以单链表为存储结构实现简单选择排序的算法-A single list for the storage structure simple selection sort algorithm<林小芬> 在 2025-06-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] floyd
说明:Floyd算法,给定多点间距离的矢量矩阵,计算两点之间的最短距离-Floyd algorithm, given the distance between multi-vector matrix, calculating the shortest distance between two points<wangzhizhi> 在 2025-06-19 上传 | 大小:2kb | 下载:0