Comparison of eight kinds of sorting algorithms
4.0
8 comparison of sorting algorithms in case random function 10,000 random number generation using quick sort, direct insertion sort, bubble sort, selection sort sort method sorts and count each sort spends the sort time and switching times. Among them, the random number the number defined by the user, the system generates a random number and displays their number of comparisons, sorting algorithms include bubble sort, selection sort, insertion sort directly, Hill sort, quicksort, heapsort, mergesort sort and base.