汉诺塔

汉诺塔的水题(还没有遇到难的QAQ)一般都是一层层来求!

公式:a[i]=a[i-1]*2+1;a[1]=1;

a[i]表示从A上把i层移到另一个的步数。

原文地址:https://www.cnblogs.com/BugClearlove/p/4412912.html