Easy
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python3 []\nclass Solution:\n    def canBeEqual(self, s1: str, s2: str) -> bool:\n        s1List=list(s1)\n        def checkEqual(i,j):\n            if s2[i]==s1[i] and s2[j]==s1[j]:\n               return "".join(s1List)\n            temp=s1List[i]\n            s1List[i]=s1List[j]\n            s1List[j]=temp\n            return "".join(s1List)\n        \n        op1=checkEqual(0,2)\n        \n        if op1==s2:\n            return True\n        op2=checkEqual(1,3)\n        if op2==s2:\n            return True\n        print(op1,op2)\n        return False\n\n\n                \n        \n```
['Python3']