hanio(n - 1, start, end, temp);
System.out.println("移动: " + start + " -> " + end);
hanio(n - 1, temp, start, end);
hanio(n - 1, start, end, temp);
System.out.println("移动: " + start + " -> " + end);
hanio(n - 1, temp, start, end);
内容版权声明:除非注明,否则皆为本站原创文章。