摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/path-with-maximum-gold 题目描述 你要开发一座金矿,地质勘测学家已经探明了这座金矿中的资源分布,并用大小为 m * n 的网格 grid 进行了标注。每个单元格中的整数就表示这 阅读全文
posted @ 2022-03-23 11:47 过客匆匆,沉沉浮浮 阅读(64) 评论(0) 推荐(0)
摘要: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order 题目描述 给定整数 n 和 k,返回 [1, n] 中字典序第 k 小的数字。 示例 1: 输入: n = 13, k 阅读全文
posted @ 2022-03-23 10:31 过客匆匆,沉沉浮浮 阅读(81) 评论(0) 推荐(0)