-
C语言实现的寻找多数元素代码
C语言实现的寻找多数元素代码,含英文注释。算法采用《算法设计技巧与分析》(沙特)一书上的方法。在一个整数序列A中,如果整数r在A中出现的次数大于序列A的一半,那么我们把这个r称为多数元素。如何更快的找出这个元素呢?在原序列中去除两个不同的元素后,那么在原序列中的多数元素在新序列中还是多数元素。
- 2022-11-30 03:55:03下载
- 积分:1
-
本代码包包含有各种各样的常用算法代码,你可以在里面找到你所要的...
本代码包包含有各种各样的常用算法代码,你可以在里面找到你所要的-the code packs containing a wide range of commonly used algorithm code, you can still find what you want
- 2023-03-20 01:40:04下载
- 积分:1
-
Data Structure classic:
数据结构经典:《用C++描述数据结构》 作者:埃利斯・霍罗维茨 1997-Data Structure classic:
- 2022-03-23 05:52:36下载
- 积分:1
-
java数据结构和算法(第二版)
Java数据结构和算法(第二版)-lafore著,教材中的范例程序,用JAVA语言,-Java data structures and algorithms (second edition)-lafore, and textbook examples of procedures, using JAVA language,
- 2022-02-09 20:19:56下载
- 积分:1
-
该程序可以模拟停车场的管理过程。为各位管理停车场的管理员提供方便。...
该程序可以模拟停车场的管理过程。为各位管理停车场的管理员提供方便。-The program can simulate the parking lot of the management process. Management of car parks for you to facilitate the administrator.
- 2023-08-31 07:10:02下载
- 积分:1
-
out PCA Gaussian Elimination Solution Line algebraic equations, Gaussian algorit...
高斯列主元消去法解线代数方程组,高斯算法-out PCA Gaussian Elimination Solution Line algebraic equations, Gaussian algorithms
- 2022-02-04 07:33:32下载
- 积分:1
-
根据贪心算法,来求解最小生成树;
这种情况,可能求不不全局最优解,但是,可以求出当前情况下的最优解;...
根据贪心算法,来求解最小生成树;
这种情况,可能求不不全局最优解,但是,可以求出当前情况下的最优解;-According to greedy algorithm to solve the minimum spanning tree this situation, it may not seek the global optimal solution is not, however, you can find the optimal solution under the current situation
- 2023-05-29 18:05:03下载
- 积分:1
-
database connection pool code
数据库连接池的代码-database connection pool code
- 2022-08-20 01:37:50下载
- 积分:1
-
数据结构中八皇后的算法
数据结构中八皇后的算法数据结构中八皇后的算法...
数据结构中八皇后的算法
数据结构中八皇后的算法数据结构中八皇后的算法-the eight strategic nerve points
the eight strategic nerve points
the eight strategic nerve points
- 2022-04-17 11:29:21下载
- 积分:1
-
后缀数存储算法,利用后缀树(sufixtree)存储,搜索数据,可以达到C*O(n)的复杂度...
后缀数存储算法,利用后缀树(sufixtree)存储,搜索数据,可以达到C*O(n)的复杂度-suffix several storage algorithm, the use of the suffix tree (sufixtree) storage, search, which can reach C* O (n) the complexity
- 2023-07-09 09:35:03下载
- 积分:1