class Same { public: bool checkSam(string stringA, string stringB) { // write code here array<int, 128> bufA{ 0 }; // 保存字符串a的遍历值 array<int, 128> bufB{ 0 }; // 保存字符串b的遍历值 for (auto& ch : stringA) { bufA[ch] += 1; } for (auto& ch : stringB) { bufB[ch] += 1; } for (int i = 0; i < 128; i+...