add time complexity & space complexity for StringShift methods