Rotate an array by k positions in place. No extra array should be used.

Problem Name:
Rotate an array by k positions in place. No extra array should be used.
Site:HackerEarth
Links:
Tags:
Problem setters: