STL排序 sort(s.begin(), s.end()); STL vector 初始化 vector<string> strs = {"dog","racecar","car"}; string 添加单个字符 sameAlpha[strI].append(1, strs[i][strI]); # 在末尾添加一个值为strs[i][strI]的字符
sort(s.begin(), s.end());
vector<string> strs = {"dog","racecar","car"};
sameAlpha[strI].append(1, strs[i][strI]); # 在末尾添加一个值为strs[i][strI]的字符