DotPe Interview Question

Rotate Array by K positions.