文件名称:majority
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:4.49kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
从给定的一组数组中,寻找当前数组中的多数元素,其中多数元素的定义为其在数组中的个数大于其数组元素个数的一半,该算法采用递归的方式,求得其多数元素的候选值,然后进行验证,最终求得结果-A group from a given array to find the majority of the current array element for most of the elements in the array defines the number of greater than half the number of array elements, the algorithm uses a recursive manner, and seek their Most elements of the candidate value, and then verify the final results obtained
(系统自动生成,下载前可以参看下载内容)
下载文件列表
majority/Majority.cpp
majority/Majority.dsp
majority/Majority.ncb
majority/Majority.opt
majority/Majority.plg
majority
majority/Majority.dsp
majority/Majority.ncb
majority/Majority.opt
majority/Majority.plg
majority
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
