SAP interview question

Duplicate array elements