摘要:
深度优先 /** * 剑指 Offer 13. 机器人的运动范围 * https://leetcode.cn/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/ * * 思路:深度优先 * */ public class Solution1 { private 阅读全文
摘要:
/** * 剑指 Offer 12. 矩阵中的路径 * https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof/ * * 思路:深度优先搜索 * */ public class Solution { private char[][] bo 阅读全文
摘要:
/** * 剑指 Offer 11. 旋转数组的最小数字 * https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof/ * * 输入:numbers = [3,4,5,1,2] * 输出:1 * */ public 阅读全文