Jimdo interview question

Working with array in coding test