Oracle Interview Question

rotate array by k moves in most optimal way.