Ghost Kitchen

Computational Puzzles

In McCrow’s kitchen, there were three boxes. Each box contained three soda cans. One night McCrow crept into the kitchen, opened the three boxes, went to bed and drank three of the soda cans. The surprising thing was, when McCrow went back to bed, each box still contained three unopened soda cans.

How did he do it? Were they really ghost cans?

[This puzzle was originally published in my book “Out of Box Computational Thinking Puzzles”. Find more interesting puzzles (including from that book) on this link. Also, don’t forget to check my puzzle books “Computational Puzzles To Flex Your Brain: 50 original puzzles to sharpen computing mind and mathematical skills and  “Brain Teasers with Coding For Data Scientist 2: 9 New Computational Puzzles” and “Puzzles with Coding: Puzzles for Everyone” at AmazonFor purchasing my books or related queries, feel free to contact me. Even in coding puzzle books, you will find interesting puzzles those are suitable for coders as well as non-coders. Coding solutions are also provided with Python code. So, grab a copy of those books and jump into the world of fascinating and exciting puzzles.]

.

.

.

.

.

.

.

.

.

.

.

.

B

Y

T

E

M

A

N

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Solution:

You have to put one box into another box as show below. So still all boxes contains 3 unopened soda cans.