ReverseStringInAStringI and ReverseStringInAStringII