Skip to content

Commit 7bef651

Browse files
Update dynamic_programming/word_break.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent dcbe9c3 commit 7bef651

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dynamic_programming/word_break.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
Date : December 12, 2022
44
55
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.
6+
Given a string and a list of words, return true if the string can be
7+
segmented into a space-separated sequence of one or more words.
98
109
Note that the same word in the dictionary may be reused
1110
multiple times in the segmentation.

0 commit comments

Comments
 (0)