JS very easy and fast solution 80ms
\n\n# Code\n\n/**\n * @param {string[]} words\n * @return {boolean}\n */\nvar makeEqual = function(words) {\n    const hashmap = new Map();\n    let sum = 0;\n\
![image.png](https://assets.leetcode.com/users/images/a952d594-fb25-4ad9-968a-5324adaf5d4f_1670559381.826913.png)\n\n# Code\n```\n/**\n * @param {string[]} words\n * @return {boolean}\n */\nvar makeEqual = function(words) {\n    const hashmap = new Map();\n    let sum = 0;\n\n    for (let i = 0; i < words.length; i++) {\n        const word = words[i];\n        sum += word.length;\n\n        for (let j = 0; j < word.length; j++) {\n            const character = word[j];\n\n            if (hashmap.has(character)) {\n                hashmap.set(character, hashmap.get(character) + 1);\n            } else {\n                hashmap.set(character, 1);\n            }\n        }\n    }\n    if (sum%(words.length)) return false;\n\n    let output = true;\n    hashmap.forEach((value) => {\n        if (value%(words.length)) output = false;\n    });\n\n    return output;\n};\n```
['Hash Table', 'JavaScript']