✅☑[C++] || Better than 100% 🔥
\n\n# Code\n\nclass Solution {\npublic:\n    bool canBeEqual(string s1, string s2) {\n        int n=4;\n      int i =0,j=0;\n        while(i<n){\n            if
\n\n# Code\n```\nclass Solution {\npublic:\n    bool canBeEqual(string s1, string s2) {\n        int n=4;\n      int i =0,j=0;\n        while(i<n){\n            if(s1[i]!=s2[j]){\n                swap(s1[i],s1[i+2]);\n                i++;\n                j++;\n            }else if(s1[i]==s2[j]){\n                i++;\n                j++;\n            }\n        }\n        \n        return s1==s2;\n    }\n};\n```
['String', 'C++']