Scan-IT interview question

hashmap implementation