Tower of Hanoi is a game consisting of three pegs and eight plates of increasing diameter, with the end goal of transferring the plates from peg 1 to peg 3 without laying a large plate on a smaller plate.
This game can be solved with a recursivealgorithm:
Precondition: all three poles have their plates in valid order