FrontRow (India) Interview Question

Rotate Array by K towards right