From 3ef35382a9793a46d3915a9f4dd0d55a397c78f2 Mon Sep 17 00:00:00 2001 From: Rakshaa Viswanathan <46165429+rakshaa2000@users.noreply.github.com> Date: Sun, 6 Sep 2020 09:50:16 +0530 Subject: [PATCH] Update return Co-authored-by: David Leal --- greedy_algorithms/jumpgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greedy_algorithms/jumpgame.cpp b/greedy_algorithms/jumpgame.cpp index 9dfc7fcdb..ab6917ba9 100644 --- a/greedy_algorithms/jumpgame.cpp +++ b/greedy_algorithms/jumpgame.cpp @@ -21,7 +21,7 @@ /** * @brief This function implements the above algorithm * @param array of numbers containing the maximum jump (in steps) from that index - * @return returns bool value whether final index can be reached or not + * @returns bool value whether final index can be reached or not */ bool canJump(std::vector nums) { auto lastPos = nums.size() - 1;