Monthly Archives: December 2013

Beauty of Mathematics

“Mathematics, rightly viewed, possesses not only truth, but supreme beauty – a beauty cold and austere, without the gorgeous trappings of painting or music.” — Bertrand Russell


15 Sorting Algorithms in 6 Minutes

Sorts random shuffles of integers, with both speed and the number of items adapted to each algorithm’s complexity.

The algorithms are: selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable_sort (adaptive merge sort), shell sort, bubble sort, cocktail shaker sort, gnome sort, bitonic sort and bogo sort (30 seconds of it).