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 2800728 commit 62bf335Copy full SHA for 62bf335
word-break/sejineer.py
@@ -1,3 +1,7 @@
1
+"""
2
+시간 복잡도: O(n * D * L) n = 문자열 길이, D = 사전 크기, L = 단어 평균 길이
3
+공간 복잡도: O(n)
4
5
class Solution:
6
def wordBreak(self, s: str, wordDict: List[str]) -> bool:
7
0 commit comments