Apple interview question

Rotate array by k steps