mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-13 07:25:42 +08:00
documentation update 3
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2549b2d590
commit
1ea4520ab1
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @file
|
||||
* @brief Implementation of an algorithm to solve the jumping game problem [Click here for the problem](https://leetcode.com/problems/jump-game/)
|
||||
* @brief Implementation of an algorithm to solve the [jumping game](https://leetcode.com/problems/jump-game/) problem
|
||||
* @details
|
||||
* **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.
|
||||
* This solution takes in input as a vector and output as a boolean to check if you can reach the last position.
|
||||
|
||||
Reference in New Issue
Block a user