IBM interview question

Something about a string and array