main_func_Update greedy_algorithms/jumpgame.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Rakshaa Viswanathan 2020-09-02 22:43:02 +05:30 committed by GitHub
parent 639b3ac577
commit 11e9823558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,10 @@ bool canJump(std::vector<int> nums) {
return lastPos == 0;
}
/**
* @brief Main function
* @returns 0 on exit
*/
int main(){
//Sample test case
std::vector<int> num={4,3,1,0,5};