Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9936c26

Browse files
authored
Update 55.jump-game.md
1 parent 893667d commit 9936c26

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

problems/55.jump-game.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -39,47 +39,6 @@ Explanation: You will always arrive at index 3 no matter what. Its maximum
3939

4040
```js
4141

42-
/*
43-
* @lc app=leetcode id=55 lang=javascript
44-
*
45-
* [55] Jump Game
46-
*
47-
* https://leetcode.com/problems/jump-game/description/
48-
*
49-
* algorithms
50-
* Medium (31.38%)
51-
* Total Accepted: 252.4K
52-
* Total Submissions: 797.2K
53-
* Testcase Example: '[2,3,1,1,4]'
54-
*
55-
* Given an array of non-negative integers, you are initially positioned at the
56-
* first index of the array.
57-
*
58-
* Each element in the array represents your maximum jump length at that
59-
* position.
60-
*
61-
* Determine if you are able to reach the last index.
62-
*
63-
* Example 1:
64-
*
65-
*
66-
* Input: [2,3,1,1,4]
67-
* Output: true
68-
* Explanation: Jump 1 step from index 0 to 1, then 3 steps to the last
69-
* index.
70-
*
71-
*
72-
* Example 2:
73-
*
74-
*
75-
* Input: [3,2,1,0,4]
76-
* Output: false
77-
* Explanation: You will always arrive at index 3 no matter what. Its
78-
* maximum
79-
* jump length is 0, which makes it impossible to reach the last index.
80-
*
81-
*
82-
*/
8342
/**
8443
* @param {number[]} nums
8544
* @return {boolean}

0 commit comments

Comments
 (0)