mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-08 15:14:01 +08:00
Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ namespace word_break {
|
||||
* @param str the string to be searched
|
||||
* @param strSet unordered set of string, that is to be looked into
|
||||
* @returns `true` if str is present in strSet
|
||||
* @returns `false` otherwise
|
||||
* @returns `false` if str is not present in strSet
|
||||
*/
|
||||
bool exists(const std::string &str,
|
||||
const std::unordered_set<std::string> &strSet) {
|
||||
|
||||
Reference in New Issue
Block a user