Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ MapSum
Class
MapSum
677-map-sum-pairs.rs:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use std::collections::HashMap;
2
3
struct MapSum {
4
mmp: HashMap<String, i32>,
5
}
6
7
8
/**
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected