Skip to content

Commit 359fb2a

Browse files
authored
Update 79.word-search.md
fix : add return False
1 parent 3a414d5 commit 359fb2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

problems/79.word-search.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ class Solution:
217217
if board[r][c] == word[0]:
218218
if dfs(board, r, c, word, 0):
219219
return True
220+
return False
220221
```
221222

222223
_Javascript Code_ from [**@lucifer**](https://github.com/azl397985856)

0 commit comments

Comments
 (0)