MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / new

Method new

676-implement-magic-dictionary.rs:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7impl MagicDictionary {
8 fn new() -> Self {
9 MagicDictionary {
10 mmp: HashMap::new()
11 }
12 }
13
14 fn build_dict(&mut self, dictionary: Vec<String>) {
15 for s in dictionary {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected