Skip to content

Commit f308a5f

Browse files
Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <[email protected]>
1 parent 4b6eb0c commit f308a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

greedy_algorithms/jumpgame.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @file
3-
* @brief Implementation of an algorithm to solve the [jumping game]((https://leetcode.com/problems/jump-game/)) problem
3+
* @brief Implementation of an algorithm to solve the [jumping game](https://leetcode.com/problems/jump-game/) problem
44
* @details
55
* **Problem statement:** Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if you are able to reach the last index.
66
* This solution takes in input as a vector and output as a boolean to check if you can reach the last position.

0 commit comments

Comments
 (0)