MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / MyHashMap

Method MyHashMap

Hashtable/design-hashmap.cpp:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class MyHashMap {
2public:
3 MyHashMap() {
4
5 }
6 vector<pair<int,int>> bucket[100]; //bucket is an array whose each element is a vector of pair
7
8 void put(int key, int value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected