Basics-Wrapup

View on GitHub

Tower of Hanoi

this problem is a mathematical puzzle which consists of three towers one have a stack of rings in sorted manner from large to small disk ascendingly the task is to move them from source tower to destination tower with help of auxilary tower with those rules

Tower of hanoi gif

the pseudo code to solution:

for n disks can be solved in (2^n -1) steps