IBM interview question

Basic array manipulation questions and one about implementing hashmaps.