A good algorithm is like a sharp knife—it does exactly what it is supposed to do with a minimum of applied effort.
The design of algorithms is both an art and a science.