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 a998182 commit 4344baaCopy full SHA for 4344baa
word-break/haklee.py
@@ -1,4 +1,4 @@
1
-"""TC: O(n * l * log(l)), SC: O(n * l)
+"""TC: ?, SC: O(w * l + s^2)
2
3
쪼개고자 하는 단어의 길이 s, wordDict에 들어가는 단어 개수 w, wordDict에 들어가는 단어 최대 길이 l
4
0 commit comments