Author_edit_Update greedy_algorithms/jumpgame.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Rakshaa Viswanathan
2020-09-02 22:42:31 +05:30
committed by GitHub
parent f3cbd1edc9
commit 639b3ac577

View File

@@ -4,7 +4,7 @@
* \details
* This algorithm is a greedy algorithm.
* This solution takes in input as a vector and output as a boolean to check if you can reach the last position.
* @author rakshaa2000
* @author [Rakshaa Viswanathan](https://github.com/rakshaa2000)
*/
//Jump Game:
/*Given an array of non-negative integers, you are initially positioned at the first index of the array.