Itechro interview question

Array problems and hash maps