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 1465b01 commit f0eab02Copy full SHA for f0eab02
word-search/changhyumm.py
@@ -20,5 +20,6 @@ def dfs(row, col, idx):
20
for col in range(cols):
21
if dfs(row, col, 0):
22
return True
23
- # 시간복잡도 O(len(row)*len(col)*4^(word))
+ # 시간복잡도 O(rows*cols*4^(word))
24
+ # 공간복잡도 O(rows*cols)
25
return False
0 commit comments