摘要:
Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, an 阅读全文
posted @ 2020-05-04 09:10
RioTian
阅读(160)
评论(0)
推荐(0)
摘要:
给定一个非负整数数组,你最初位于数组的第一个位置。 数组中的每个元素代表你在该位置可以跳跃的最大长度。 你的目标是使用最少的跳跃次数到达数组的最后一个位置。 示例: 输入: [2,3,1,1,4] 输出: 2 解释: 跳到最后一个位置的最小跳跃数是 2。 从下标为 0 跳到下标为 1 的位置,跳 1 阅读全文
posted @ 2020-05-04 07:14
RioTian
阅读(198)
评论(0)
推荐(0)

浙公网安备 33010602011771号