摘要:
package com.atguigu.datastructures.recursion object HanoiTower { def main(args: Array[String]): Unit = { hanoiTower(10,'A','B','C') } //汉诺塔 //思路 //如果只 阅读全文
posted @ 2020-06-11 15:29
济默
阅读(238)
评论(0)
推荐(0)
摘要:
0表示未被探测过,1表示墙,2表示经过探测是通路,3经过探测发现是死路。 给出两种策略,下右上左;上右下左 package com.atguigu.datastructures.recursion object MiGong { def main(args: Array[String]): Unit 阅读全文
posted @ 2020-06-11 15:26
济默
阅读(142)
评论(0)
推荐(0)

浙公网安备 33010602011771号