Commit 05861c8
authored
fix: $79 boundary check (azl397985856#398)
修改
if (board == null || word == null) return false;
if (word.length() == 0) return true;
if (board.length == 0) return false;1 parent db0b917 commit 05861c8
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
0 commit comments