Update dynamic_programming/word_break.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Akshay Anand
2020-10-16 01:00:00 +05:30
committed by GitHub
parent 0958e69dd3
commit c4830dfe4c

View File

@@ -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) {