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


==> 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 to whatsapp

More Questions from Data Structures and Algorithms Module 2

Explain Fibonacci Sequence ? 


View

Explain stacks using dynamic arrays ? 


View

Explain Multiple stacks ?


View

Explain briefly Infix expression, Polish Notation and Reverse Polish Notation ?


View

Explain Conversion to Infix expression to Postfix expression


View

Define Queue. Explain Applications of Queue ? 


View

Explain Algorithm for Enqueue operation  and Algorithm for Dequeue operation using array ? 


View