diff --git a/greedy_algorithms/jumpgame.cpp b/greedy_algorithms/jumpgame.cpp index 3bad9138b..681196b7d 100644 --- a/greedy_algorithms/jumpgame.cpp +++ b/greedy_algorithms/jumpgame.cpp @@ -41,6 +41,8 @@ bool canJump(const std::vector &nums) { } return lastPos == 0; } +} // namespace jump_game +} // namespace greedy_algorithms /**