文件名称:SELECT2
介绍说明--下载内容来自于网络,使用问题请自行百度
通过精心挑选划分元素v,可以得到一个最坏情况时间复杂度为O(n)的选择算法。本次实习要求用c语言将此算法实现。要求实现此功能:输入一组数,返回A[i],使其为A(m:p)中第k小的元素,k是一个全局变量,取大于1的整数-division through carefully selected elements v, one can be the worst time complexity of O (n) algorithm. The internship requirement c language used this algorithm. Calls for this function : the importation of a number of groups, the return of A [i], so A (m : p) k small elements, k is a global variables, from an integer greater than
(系统自动生成,下载前可以参看下载内容)
下载文件列表
选择算法/sel.cpp
选择算法/实习一 最坏情况时间是O.doc
选择算法
www.dssz.com.txt
选择算法/实习一 最坏情况时间是O.doc
选择算法
www.dssz.com.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。