From 4b6eb0cbc95568b2bc3e5e2bc4a2f76433ef8374 Mon Sep 17 00:00:00 2001 From: Rakshaa Viswanathan <46165429+rakshaa2000@users.noreply.github.com> Date: Fri, 2 Oct 2020 10:35:41 +0530 Subject: [PATCH] Update greedy_algorithms/jumpgame.cpp Co-authored-by: David Leal --- greedy_algorithms/jumpgame.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/greedy_algorithms/jumpgame.cpp b/greedy_algorithms/jumpgame.cpp index 8a8903191..b3f7f8544 100644 --- a/greedy_algorithms/jumpgame.cpp +++ b/greedy_algorithms/jumpgame.cpp @@ -17,7 +17,16 @@ #include #include - +/** + * @namespace greedy_algorithms + * @birief Greedy algorithms + */ +namespace greedy_algorithms { +/** + * @namespace jump_game + * @brief Functions for the [jumping game](https://leetcode.com/problems/jump-game/) problem + */ +namespace jump_game { /** * @brief This function implements the above algorithm * @param array of numbers containing the maximum jump (in steps) from that index