KAAR interview question

Array Rotation, code in preferred in language