We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcbe9c3 commit 7bef651Copy full SHA for 7bef651
dynamic_programming/word_break.py
@@ -3,9 +3,8 @@
3
Date : December 12, 2022
4
5
Task:
6
-Given a string s and a dictionary of strings wordDict,
7
-return true if s can be segmented into a space-separated
8
-sequence of one or more dictionary words.
+Given a string and a list of words, return true if the string can be
+segmented into a space-separated sequence of one or more words.
9
10
Note that the same word in the dictionary may be reused
11
multiple times in the segmentation.
0 commit comments