Skip to content

Commit 233a514

Browse files
authored
Update 79-word-search.js
1 parent 8f3adbe commit 233a514

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

79-word-search.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ function dfs(board, x, y, dirs, word, start) {
3535
return false;
3636
}
3737

38+
// time complexity: O(M * N * 3^L), where L is the length of word.
39+
3840
// another
3941

4042
/**

0 commit comments

Comments
 (0)