Solution

ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/intelligent-systems/2/c/solution

Move the three coins as follows, with smallest:
StepCoinSourceDestination
1
2
3
4
5
Every moved coin is exposed, and the last two moves put a smaller coin on a larger one. Thus
Five is also optimal here: before the first move of , both smaller coins must leave . Neither can make its only move directly to the final destination and remain there, because it would obstruct the eventual arrival of . Each smaller coin therefore needs at least two moves. Those four small-coin moves and at least one move of give the matching lower bound.

New to topics? Read the docs here!