We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e2b2a1 + 5381636 commit 94e2c64Copy full SHA for 94e2c64
55-Jump-Game.py
@@ -5,4 +5,4 @@ def canJump(self, nums: List[int]) -> bool:
5
for i in range(len(nums) - 2, -1, -1):
6
if i + nums[i] >= goal:
7
goal = i
8
- return True if goal == 0 else False
+ return goal == 0
0 commit comments