HBTech's Blog
HBTech's Blog

数据结构
文章归档

https://hbtech.oss-cn-shenzhen.aliyuncs.com/blog/hanoi.jpg
使用堆栈模拟递归完成汉诺塔步骤求解
前言 有如下汉诺塔步骤求解代码: #include <stdio.h> int sum = 0; void move(int n, char from, char to){ …
   1,374   2021-01-01   Read More...