Python | 4 lines (clean and precise)
Code:\n\n\n\t\td1={}\n        for i in range(len(messages)): d1[senders[i]]=d1.get(senders[i],0)+(len(messages[i].split(\' \')))\n        t=sorted(d1.items(),ke
Code:\n\n```\n\t\td1={}\n        for i in range(len(messages)): d1[senders[i]]=d1.get(senders[i],0)+(len(messages[i].split(\' \')))\n        t=sorted(d1.items(),key= lambda x: (-x[1],x[0]))\n        for i in range(len(t)-1,-1,-1):\n            if t[i][1]==t[0][1]: return t[i][0]\n```
['String', 'Sorting']