AlgoMaster Logo

Design HashMap

operations=put(1, 10), put(2, 20), get(1), put(12, 30), get(12), remove(1), get(1)
0 / 25
algomaster.io
Step:Direct address: the key is the index, so there is nothing to hash