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 31620b5 commit 570eaebCopy full SHA for 570eaeb
word-search/kayden.py
@@ -1,5 +1,5 @@
1
# 시간복잡도: O(N*M*4^limit) limit: word의 길이
2
-# 공간복잡도: O(N)
+# 공간복잡도: O(N*M)
3
class Solution:
4
def exist(self, board: List[List[str]], word: str) -> bool:
5
m = len(board)
0 commit comments