Progress interview question

To do a coding based on arrays and strings