Pregunta de entrevista de IBM

Basic array manipulation questions and one about implementing hashmaps.