Posts tagged with 'dwarves'


Scenes from my programming past: Puzzles V

In which I continue solving a series of puzzles first posed as part of the programming course for my Mathematics degree. This time it’s the last puzzle of all, the fifth. (The others: one , two , three , four , or click on the Puzzles category beneath this post.) “Can we try on our new hats?” the dwarves begged Snow White one day. “All right,” she said, “but first shut your eyes.” When they had done so, she popped a red or a green hat on each. When they opened their eyes each could see the other...

READ MORE