Puzzles for Programmers and Pros

daughter, marrying the most beautiful, 12–13

death toll, calculating for the flu, 22

deletes in a dynamic programming matrix, 151

design mind games, 23–29

diff program in Unix/Linux, 122

Dig That! mind game, 66–67

solution to, 113–116

directional probes, 67

districts, forming coalitions in a state, 14, 79–80

donut store, 156–157

donuts, packaging in different sizes, 156

doors, switching, 181, 184–187

Dragoo, Alan, 97, 103

driving, intellectual effort of, 49

Dudeney, classic puzzle book, 90

dynamic programming

applying to Sweet Packs, 156

approach to a problem, 150–154

described, 122–123

as a greedy method, 154

trying, 164

Категории