From 538aee2d5d1b9ded6ba863d259194065733c2b74 Mon Sep 17 00:00:00 2001 From: Akshay Anand Date: Fri, 16 Oct 2020 00:09:17 +0530 Subject: [PATCH] Update dynamic_programming/word_break.cpp Co-authored-by: David Leal --- dynamic_programming/word_break.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_programming/word_break.cpp b/dynamic_programming/word_break.cpp index e13dfff55..67be17d06 100644 --- a/dynamic_programming/word_break.cpp +++ b/dynamic_programming/word_break.cpp @@ -47,7 +47,7 @@ class Solution { * * @param str the string to be searched * @param strSet unordered set of string, that is to be looked into - * @returns bool, true if str is present in strSet + * @returns true if str is present in strSet */ bool exists(const string &str, const unordered_set &strSet) { return strSet.find(str) != strSet.end();