Dell Technologies interview question

Rotate an array by 90