Python - Two Lines Or One Line
Two Lines\npython\nclass Solution:\n    def makeEqual(self, words: List[str]) -> bool:\n        counts, n = collections.Counter(\'\'.join(words)), len(words)   
- Two Lines\n```python\nclass Solution:\n    def makeEqual(self, words: List[str]) -> bool:\n        counts, n = collections.Counter(\'\'.join(words)), len(words)                    \n        return all([ val % n == 0 for val in counts.values() ])\n```\n\n- One Line from @dmyma\n```python\nclass Solution:\n    def makeEqual(self, w: List[str]) -> bool:             \n        return all([ val % len(w) == 0 for val in collections.Counter(\'\'.join(w)).values() ])\n```\n\n- One Line with no brackets @blue_sky5 and @l1ne\n```python\nclass Solution:\n    def makeEqual(self, w: List[str]) -> bool:             \n        return all(val % len(w) == 0 for val in collections.Counter(\'\'.join(w)).values())\n```\n
[]