Long but easy and 0ms + 100% faster
\nclass Solution {\npublic:\n    bool areAlmostEqual(string s1, string s2) {\n        if(s1 == s2) return true;\n        int cnt = 0;\n        string s111,s222;
```\nclass Solution {\npublic:\n    bool areAlmostEqual(string s1, string s2) {\n        if(s1 == s2) return true;\n        int cnt = 0;\n        string s111,s222;\n        for(int i = 0 ; i < s1.length() ; i++){\n            if(s1[i] != s2[i]) cnt++,s111 += s1[i],s222 += s2[i];\n            if(cnt > 2) return false;\n        }\n        sort(s111.begin(),s111.end());\n        sort(s222.begin(),s222.end());\n        for(int i = 0 ; i < s111.length() ; i++){\n            if(s111[i] != s222[i]) return false;\n        }\n        return true;\n        if(cnt != 2) return false;\n        return true;\n    }\n};\n```
['C']