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