Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ MagicDictionary
Class
MagicDictionary
676-implement-magic-dictionary.rs:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use std::collections::HashMap;
2
3
struct MagicDictionary {
4
mmp: HashMap<usize, Vec<Vec<char>>>
5
}
6
7
impl MagicDictionary {
8
fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected