| 17 | } |
| 18 | |
| 19 | int get(int key) { |
| 20 | int index = key%100; |
| 21 | for(int i=0 ; i<bucket[index].size(); i++){ |
| 22 | if(bucket[index][i].first==key) |
| 23 | return bucket[index][i].second; |
| 24 | } |
| 25 | return -1; |
| 26 | } |
| 27 | |
| 28 | void remove(int key) { |
| 29 | int index = key%100; |
no test coverage detected