Most people know that your chances of winning the lottery are astronomically small. Yet this is only half the reason why you should invest elsewhere. The other half is the amount of money you have to pay to receive those … Continue reading
Picking Up Chicks
Problem: A number of chicks in a straight line begin running at different speeds, starting at different points along that line. When a speedy chick catches the chick in front, it slows to the slower speed. You are following in … Continue reading
Number Game
Google has an annual programming competition called “code jam”. There are multiple rounds, each consisting of 3 problems to solve. They leave the old code jam websites up and it is a great place to find interesting problems. They also … Continue reading
On Beauty and Algorithms
Algorithmic beauty is the same as algorithmic usefulness. Beauty is simplicity, beauty is elegance, and beauty is efficiency. This blog is about solving problems of all kinds. Algorithms are much more than snippets of computer code. A computer follows algorithms … Continue reading