Beated 98.7% || Javascript || Easy solution
Code\n\nvar areAlmostEqual = function (s1, s2) {\n    let count = 0, arr1 = [], arr2 = []\n    for (let i = 0; i < s1.length; i++) {\n        if (s1[i] !== s2[i
# Code\n```\nvar areAlmostEqual = function (s1, s2) {\n    let count = 0, arr1 = [], arr2 = []\n    for (let i = 0; i < s1.length; i++) {\n        if (s1[i] !== s2[i]) {\n            arr1.push(s1[i])\n            arr2.push(s2[i])\n            count++\n        }\n        if (count > 2)\n            return false\n    }\n    if (count === 2) {\n        return JSON.stringify(arr1.sort()) === JSON.stringify(arr2.sort())\n    }\n    return count === 0\n};\n```
['String', 'String Matching', 'JavaScript']