part one 网页找不到了。。
part two 前面大致是这个样子的,总体来说quick最快!
作业中有提到 gnuplot,有空再捣腾一下这个东西。
http://www.cnblogs.com/cocowool/archive/2011/07/03/2096924.html(转载)
所以用了我们强大的画图工具---matlab
差不多在100的时候insert的线开始上升,100之前相比较而言insert用时少一点
不测了,挂个代码
public class YourSort { public static void sort(int[] A) { // Place your Part III code here. if(A.length<=100){ Sort.insertionSort(A); }else{ Sort.quicksort(A); } } }