未验证 提交 359fb2a2 编写于 作者: R rejoicesyc 提交者: GitHub

Update 79.word-search.md

fix : add return False
上级 3a414d58
......@@ -217,6 +217,7 @@ class Solution:
if board[r][c] == word[0]:
if dfs(board, r, c, word, 0):
return True
return False
```
_Javascript Code_ from [**@lucifer**](https://github.com/azl397985856)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册