TalentDecrypt interview question

implementation of HashMap