loading...

re: Anatomy of a Bad Idea VIEW POST

FULL DISCUSSION
 

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.

code of conduct - report abuse