I know none of those by heart, and I don't ever plan to. How does memorizing bubble sort improve my ability to design or improve application-specific software that adds a new value to the world, unless that new value is specifically about sorting?
It's hard for me to take this post seriously, when the first line includes "bubble sort". Bubble sort is probably one of the worst algorithms you can use, even for short lists. Insertion sort is just as easy to understand as bubble sort, and its performance is much better.
5 comments
[ 1152 ms ] story [ 4219 ms ] thread