Revolut Interview Question

Write a hash map and include all of the necessary functions.