UKG interview question

Simple coding questions involving hashmaps