C++ (slow, but easy for understanding)
\nclass Solution {\npublic:\n    bool areAlmostEqual(string s1, string s2) {\n        int n = s1.size();\n        if(s1 == s2) return true;\n        for(int i =
```\nclass Solution {\npublic:\n    bool areAlmostEqual(string s1, string s2) {\n        int n = s1.size();\n        if(s1 == s2) return true;\n        for(int i = 0; i < n; i++) {\n            for(int j = 0; j < n; j++) {\n                swap(s1[i], s1[j]);{\n                    if(s1 == s2) return true;\n                    else swap(s1[i], s1[j]);\n                }\n            }\n        }\n        return false;\n    }\n};\n```
['C']