Description
https://leetcode.com/problems/jump-game-ii/description/
Naive Solution(TLE)
1 | class Solution { |
Button Up
We maintain the range of each depth, using leftBound
and rightBound
.
1 | class Solution { |
Why don't you come to your senses?
https://leetcode.com/problems/jump-game-ii/description/
1 | class Solution { |
We maintain the range of each depth, using leftBound
and rightBound
.
1 | class Solution { |