Skip to content

Commit 072f9cc

Browse files
Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <[email protected]>
1 parent f308a5f commit 072f9cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

greedy_algorithms/jumpgame.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ bool canJump(const std::vector<int> &nums) {
4141
}
4242
return lastPos == 0;
4343
}
44+
} // namespace jump_game
45+
} // namespace greedy_algorithms
4446

4547

4648
/**

0 commit comments

Comments
 (0)