diff --git a/dynamic_programming/word_break.cpp b/dynamic_programming/word_break.cpp index 03003fb0d..fa5048a38 100644 --- a/dynamic_programming/word_break.cpp +++ b/dynamic_programming/word_break.cpp @@ -144,6 +144,9 @@ class Solution { return check(s, strSet, 0, &dp); } }; +} // namespace word_break +} // namespace dynamic_programming + /** * @brief Main function