# Leetcode Offer 58 - Rotate string leftly

Note:

• Normal approach is easy to come up with, but try to using O(1) extra space.
• Original length is length = s.length
• Along with concatenating the last char to s, we find that we are always using newS[oriLength - 1].

Question:

Reverse string from index k to the left.

Example:

Code: