Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ canSkip
Method
canSkip
javascript/0212-word-search-ii.js:61–66 ·
view source on GitHub ↗
(char, child)
Source
from the content-addressed store, hash-verified
59
}
60
61
canSkip(char, child) {
62
const
hasSeen = char ===
'#'
;
63
const
isMissingChild = !child;
64
65
return
hasSeen || isMissingChild;
66
}
67
68
checkWord(node, words) {
69
if
(!node.word.length)
return
;
Callers
1
dfs
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected