CHAPTER 8

All for One and One for All

Our story begins with ten kids that were recently invited to play at the playground at the queen’s palace. These ten kids (five boys and five girls) are known to be the smartest kids in the kingdom, and the queen has invited them so that she can test whether they are as smart as claimed.

8.1    THE SEE-SAW PUZZLE

The playground resides in the center of a beautiful garden, and it has two see-saws in it: a black colored see-saw and a white colored see-saw. Each see-saw has a left side and a right side, and its two possible positions are called “left side down” and “right side down,” which indicate which side is down (implying that the opposite side is up). The queen has told the kids that they will be able ...

Get Distributed Computing Pearls now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.