登录
|
注册
公司
标签
文章
搜索
排序
热门公司
完美世界
迅雷
爱奇艺
搜狐
腾讯
网易
热门职位
研发工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
799
基于关键字比较大小的排序算法中, 1 排序算法的平均时间算杂度最优。 ...
阅读题目
排序
填空题
经典指数
0
0
731
It is said that in 2013, there were about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if you could write a program to automate the admission procedure.Each applicant will have to provide two grades: the national entrance exam grade GE, and the interview grade GI. The final grade of an applicant is (GE + GI) / 2. The admission rules are: The applicants are ranked according to their final grades, and will be admitted one by one from t ...
阅读题目
排序
wen_da
经典指数
0
0
721
给出一组关键字K={28,07,39,10,65,14,61,17,50,21},写出用下列方法进行升序排序,第一趟结束时关键字的排列状态。 (1) 直接插入排序 (2)快速排序 (要求写出排序过程) ...
阅读题目
排序
问答题
经典指数
0
0
721
Quicksort (快速 排序) is a very interesting algorithm. Given an disordered array with n elements, 1. What is the best time complexity (最好时间复杂度) to sort this array with quicksort? 2. What is the worst time complexity (最坏时间复杂度) to sort this array with quicksort? 3. During each iteration, if we assume that the initial array is split (分割) according to the ration (比例) 1:9, then write the recurrence of this situation, and prove that the asymptotic time complexity will remain Θ(n log ...
阅读题目
排序
问答题
经典指数
0
0
710
已知两个各包含 N 和 M 个记录的排好序的文件能在 O ( N+M )时间内合并为一个包含 N+M 个记录的排好序的文件。当有多于两个排好序的文件要被合并在一起时,只需重复成对地合并便可完成。合并的步骤不同,所需花费的记录移动次数也不同。现有文件 F1 , F2 , F3 , F4 , F5 ,各有记录数为 20 , 30 , 10 , 5 和 30 ,试找出记录移动次数最少的合并步骤。 ...
阅读题目
排序
问答题
经典指数
0
0
687
下列排序方法中,比较次数与待排序记录的初始状态无关的是() 插入排序和快速排序 归并排序和快速排序 选择排序和归并排序 插入排序和归并排序 ...
阅读题目
排序
单选题
经典指数
0
0
641
设一个线性序列{ 30 , 25 , 40 , 18 , 27 , 36 , 50 , 10 , 32 , 45 },按此序列建立一棵二叉排序树,并计算在这棵二叉排序树上查找成功时的平均查找长度。 ...
阅读题目
排序
问答题
经典指数
0
0
626
折半插入排序适合于特排序的元素个数n很大的情况。 正确 错误 ...
阅读题目
排序
单选题
经典指数
0
0
620
用某种排序方法对关键字排序(25 、84、21、47、15、27、68、35、20)进行排序时,序列的变化情况如下: 20、15、21、25、47、27、68、35、84 15、20、21、25、35、27、47、68、84 15、20、21、25、27、35、47、68、84 则采用的排序方法是() 选择排序 希尔排序 归并排序 快速排序 ...
阅读题目
排序
单选题
经典指数
0
0
620
已知数据表A中每个元素距其最终位置不远,为了节省时间,应该采取的算法是() 直接选择排序 直接插入排序 堆排序 快速排序 ...
阅读题目
排序
单选题
经典指数
<<
<
5
6
7
8
9
10
>
>>
200
题目数
1
贡献者
272
答案数
扫描后移动端查看
我也分享一个题目
相关标签
2017
2016
用户运营
内容运营
完美世界
搜狐
腾讯
研发工程师
网易
迅雷
同类标签
内容运营
用户运营
操作系统
C/C++
网络基础
C++工程师
编译和体系结构
数据库
编程基础
java
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录