Skip to content

Commit 5aa6700

Browse files
committed
79
1 parent e0190f7 commit 5aa6700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

word-search/jeldo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class Solution:
2-
# (O(m*n))
2+
# O(m*n), m*n = board's width,heigh
33
def exist(self, board: List[List[str]], word: str) -> bool:
44
dirs = [(0, 1), (1, 0), (0, -1), (-1, 0)]
55
result = False

0 commit comments

Comments
 (0)