Java| 100% better time and space
\nclass Solution {\n    public boolean makeEqual(String[] words) {\n        int[] c = new int[26];\n        for (String word: words) {\n\n            for (char 
```\nclass Solution {\n    public boolean makeEqual(String[] words) {\n        int[] c = new int[26];\n        for (String word: words) {\n\n            for (char ch: word.toCharArray()) {\n\n                c[ch - \'a\']++;\n            }\n        }\n        for (int frequency: c) {\n            if (frequency % words.length != 0)\n                return false;\n        }\n        return true;\n    }\n}\n```
['Java']