We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0424c1f commit 7084137Copy full SHA for 7084137
word-break/8804who.py
@@ -12,4 +12,5 @@ def wordBreak(self, s: str, wordDict: List[str]) -> bool:
12
if s[i:i+len(word)] == word:
13
dp[i+len(word)] = True
14
15
- return dp[-1]
+ return dp[-1]
16
+
0 commit comments