KUMAR SHIVAM

Define Tower of Hanoi . Explain algorithm for Tower of Hanoi ? 

Data Structures and Algorithms

Answer in Short

Tower of Hanoi, is a mathematical puzzle which consists of three tower (pegs) and more than one rings. For algorithm for tower of Hanoi please refer to image

Explanation

1483    0

==> Tower of Hanoi--

  • Tower of Hanoi, is a mathematical puzzle which consists of three tower (pegs) and more than one rings
  • These rings are of different sizes and stacked upon in ascending order i.e. the smaller one sits over the larger one. There are other variations of puzzle where the number of disks increase, but the tower count remains the same.




Share:   

More Questions from Data Structures and Algorithms Module 2