加载中...
分类详情
困难 分类
1340-跳跃游戏 V(Jump Game V)
原文链接: https://leetcode-cn.com/problems/jump-game-v 英文原文Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d. i - x where: i - x >= 0 and 0 < x <= d. In additio…
2021-12-03
1463-摘樱桃 II(Cherry Pickup II)
原文链接: https://leetcode-cn.com/problems/cherry-pickup-ii 英文原文Given a rows x cols matrix grid representing a field of cherries. Each cell in grid represents the number of cherries that you can collect. You have two robots that can collect cherries for …
2021-12-03