IBM interview question

Standard questions like: how would you modify the array to return a certain value.