Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 440
What does HashMap::with_capacity(n) avoid?
A
Repeated rehashing as the map grows to n entries
B
Collisions entirely
C
Hashing
D
Allocation entirely