Given a string(Given in the way of char array) and an offset, rotate the string by offset in place. (rotate from left to right).
Example
Input: str="abcdefg", offset = 3
Output: str = "efgabcd"
Explanation: Note that it is rotated in place, that is, after str is rotated, it becomes "efgabcd".