NVIDIA Interview Question

Rotate array by k steps