资源列表
[数据结构常用算法] Bitree
说明:二叉树的相关操作,建立,前序遍历,中序遍历,后序遍历-Binary tree-related operations, the establishment of preorder traversal, inorder traversal, after traversing<zhangzhang> 在 2025-07-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Select
说明:给定一个线性序列集,要求求出其中指定的第k小的数的值和位置.如给定n个元素和一个整数i,1≤i≤n,输出这n个元素中第i小元素的值及其位置;-A linear sequence of a given set of requirements specified in paragraph k of which obtained a small number of value and location. If the given element and an integer n i, 1 ≤ i ≤<jj> 在 2025-07-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] BinarySearch
说明:给定递增整数序列L,其大小为n,要求使用二分查找法查找任意元素的位置k(序列中第几个); 问-Given increasing sequence of integers L, its size is n, requires the use of binary search to find the location of any element of k (the first few series) Q<jj> 在 2025-07-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] BinarySearchTree
说明:设S=(x1,x2,…,xn)是有序集,且x1<x2<…<xn ,表示有序集S的二叉搜索树, 利用二叉树的结点存储有序集中的元素。且已知其存取概率分布为(a1,a2,…,an),求在所有表示有序集的二叉树中找出一棵具有最小平均路长的二叉搜索树问题。-Set S = (x1, x2, ..., xn) is an ordered set, and x1 <x2<…<xn ,表示有序集S的二叉搜索树, 利用二叉树的结点存储有序集中的元素。且已知其存取概率分布为(a<jj> 在 2025-07-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Dijskstra
说明:给定带权有向图 ,其中每条边的权都是非负实数。另外,还给定V中的一个顶点,称为源点。现在要计算从源到所有其它各顶点的最短路长度。这里路的长度是指路上各边权之和;-Given weighted directed graph, where each edge of the right of all non-negative real number. In addition, the return of a vertex set V, called the source. Now calculated<jj> 在 2025-07-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Jack_Straws
说明:ACM94国际大学生编程竞赛东中心区试题-Descr iption n the game of Jack Straws, a number of plastic or wooden "straws" are dumped on the table and players try to remove them one-by-one without disturbing the other straws. Here, we are only concerned with if vario<王强> 在 2025-07-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] dijkstra
说明:It is a c++ code for the dejkstra algorithm with aim to find the shorest path between two points , the nodes with the distance between them store in a txt file and the program read it from this txt file<rorarora33> 在 2025-07-16 上传 | 大小:1kb | 下载:0