After I took my first programming course in college, I was convinced I was a genius and I was going to invent the best new sorting algorithm. That algorithm was SwapSort. SwapSort is 1078 lines long. SwapSort is an improvement on bubble sort and not much else.
After I took my first programming course in college, I was convinced I was a genius and I was going to invent the best new sorting algorithm. That algorithm was SwapSort. SwapSort is 1078 lines long. SwapSort is an improvement on bubble sort and not much else.
github.com/twof/SwapSort/blob/mast...
If you like sorting algorithms, Dual-Pivot Quicksort makes for an interesting case study.