题解 | #原串翻转#
原串翻转
http://www.nowcoder.com/practice/2442435405fa432b99b8ec1cb0315902
public:
string reverseString(string iniString) {
string s;
for(int i=iniString.size()-1;i>=0;i--){
s+=iniString[i];
}
return s;
}
};