[python]--\easiest soln\
\n\n# Code\n\nclass Solution:\n    def areAlmostEqual(self, s1: str, s2: str) -> bool:\n        \n        if s1==s2: #strings are equal no swapping required\n  
\n\n# Code\n```\nclass Solution:\n    def areAlmostEqual(self, s1: str, s2: str) -> bool:\n        \n        if s1==s2: #strings are equal no swapping required\n            return True\n        if sorted(s1)!=sorted(s2): #if alphabets of strings are not equal\n            return False\n        countof=0\n        for i in range(len(s1)):\n            if s1[i]!=s2[i]:#checking diff aplphabets of both the strings\n                countof +=1\n        if countof!=2:\n                return False\n        return True\n\n        \n\n\n      \n```
['Python3']