Best Case time complexity of Tower of Hanoi algorithm

后端 未结 0 686
梦谈多话
梦谈多话 2020-12-04 15:15

I want to know the best case complexity of Tower of Hanoi algorithm. The algorithm that I used is Algorithm

I have calculated the time complexity and it is T(2^n -1)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题