搜索资源列表
Internal-sorting-
- 内部排序算法比较 掌握排序法的工作原理及应用过程,运用其工作原理上述实验题目中的内容。 -Internal sorting algorithm sorting method to grasp the working principle and the application process, the use of its working principle of the experimental subject content.
internal-sorting
- (1) 对常用的内部排序算法进行比较:直接插入排序、简单选择排序、冒泡排序、快速排序、希尔排序。 (2) 利用随机函数产生N(如30000)个随机整数,作为输入数据作比较;比较的指标为关键字参加的比较次数和关键字的移动次数(关键字交换计为3次移动)。 (3) 对结果作出简要分析。-(1) internal sorting algorithm commonly used to compare: direct insertion sort, simple selection sort
paixusuanfa
- 在教科书中,各种内部排序算法的时间复杂度分析结果只给出了算法执行时间的阶,或大概执行时间。试通过随机数据比较各算法的关键字比较次数和关键字移动次数,以取得直观感受。-In textbooks, various internal sorting algorithm time complexity analysis algorithm is given only to the order of time, or about the execution time.Through random da