Dell Technologies Interview Question

Rotate an array by 90