Dynatrace interview question

Using any language loop through an array