实现快排最优版本算法上机报告
算法导论第二次上机报告
班级:1403018 姓名:张可心 学号:14030188030
(一)题目一
一、问题
This project requires you to implement an optimized version of quicksort, and compare the performances of the following combinations:
Cutoff values from 0 to 50;
Take pivot to be the 1st element, random, median of random three, and median of random five.
The tests must be done on the following three kinds of inputs:
sorted input;
reverse-ordered input;
random input.
The size of input can be taken from 1000 to 10000. The run times must be plotted with respect to the sizes to illustrate the difference. (figure out using excel, matlab in t
您可能关注的文档
最近下载
- 临床心血管内科常用药物总结.ppt VIP
- 东芝变频器VF-AS1中文说明书.pdf VIP
- 文园中学七年级下学期语文期中试卷.docx VIP
- [临床心血管内科常用药物--总结] 心血管内科常用药物.docx VIP
- B777_FCOM_VOL2_最终打印稿_9.pdf VIP
- 批判性思维能力测量表(CDTI-CV)——彭美慈.pdf VIP
- 传染病监测预警系统介绍.pptx VIP
- 苹果手机恢复照片软件.docx VIP
- 辽宁省辽南协作校2024-2025学年高二年级下册期中考试数学试卷(含答案解析).pdf VIP
- 辽宁省辽南协作校2024-2025学年高二下学期期中考试数学试卷.docx VIP
原创力文档

文档评论(0)