Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What is the number of moves required to solve Tower of Hanoi problem for k disks?

a) 2k – 1
b) 2k + 1
c) 2k + 1
d) 2k – 1

Answer: d
Explanation: Tracing of the moves in the above ToH problem will prove this result, instead you can simply add a count for each recursive call to check the number of moves.

Join The Discussion