Python: Easy Sorting & Map
\nclass Solution:\n    def largestWordCount(self, messages: List[str], senders: List[str]) -> str:\n        d = defaultdict(int)\n        mx = 0\n        for i,
```\nclass Solution:\n    def largestWordCount(self, messages: List[str], senders: List[str]) -> str:\n        d = defaultdict(int)\n        mx = 0\n        for i,snd in enumerate(senders):\n            d[snd] += len(messages[i].split())\n            mx = max(mx, d[snd])\n        \n        for snd in sorted(d.keys())[::-1]:\n            if d[snd] == mx:\n                return snd\n```
[]