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

Function main

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

Source from the content-addressed store, hash-verified

38}
39
40fn main() {
41 let mut obj = MagicDictionary::new();
42 obj.build_dict(vec!["hello".to_string(),"hallo".to_string(), "judge".to_string()]);
43 let ret_2: bool = obj.search("judga".to_string());
44 println!("{:?}", ret_2);
45}

Callers

nothing calls this directly

Calls 2

build_dictMethod · 0.80
searchMethod · 0.80

Tested by

no test coverage detected