题解 | #原串翻转#
原串翻转
https://www.nowcoder.com/practice/2442435405fa432b99b8ec1cb0315902
#include <algorithm> class Reverse { public: string reverseString(string iniString) { reverse(iniString.begin(),iniString.end() ); return iniString; } };
原串翻转
https://www.nowcoder.com/practice/2442435405fa432b99b8ec1cb0315902
#include <algorithm> class Reverse { public: string reverseString(string iniString) { reverse(iniString.begin(),iniString.end() ); return iniString; } };
相关推荐