Yahoo interview question

Broad Java questions. coding question using hashmap