Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiwarishashwat/InterviewCodes
/ Node
Class
Node
sumOfPrefixScoresOfStrings.java:30–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
29
30
class
Node {
31
Node child[];
32
int
count;
33
Node(){
34
child =
new
Node[26];
//0 to 9 digits
35
count = 0;
36
}
37
}
38
39
class
Trie {
40
Node root;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected