Count characters in all word and check mod with Number of Words
\nclass Solution {\n    public boolean makeEqual(String[] words) {\n        int[] frequency = new int[26];\n        for(String word : words)\n            for(ch
```\nclass Solution {\n    public boolean makeEqual(String[] words) {\n        int[] frequency = new int[26];\n        for(String word : words)\n            for(char c : word.toCharArray())\n                frequency[c - \'a\']++;\n        \n        for(int x : frequency)\n            if(x % words.length != 0)\n                return false;\n        \n        return true;\n    }\n}\n```
[]