The recurrence relation capturing the optimal execution time of the Towers of Hanoi problem with n discs is :

PROBLEM
:-

The recurrence relation capturing the optimal execution time of the Towers of Hanoi problem with n discs is :

ANSWER:-  D)
   
T(n) = 2T(n − 1) + 1 
Previous
Next Post »

If you have any doubts then please let me know... ConversionConversion EmoticonEmoticon