mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-06 21:33:54 +08:00
Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -160,5 +160,5 @@ int main() {
|
|||||||
|
|
||||||
// should return true, as applepenapple can be segmented as apple + pen +
|
// should return true, as applepenapple can be segmented as apple + pen +
|
||||||
// apple
|
// apple
|
||||||
cout << Solution().wordBreak(s, wordDict) << endl;
|
cout << dynamic_programming::word_break::Solution().wordBreak(s, wordDict) << endl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user