1class Solution:2 def makeEqual(self, words: List[str]) -> bool:3 map_ = {}4 for word in words:5 for i in word:6 if i not in map_:7 map_[i] = 18 else:9 map_[i] += 110 n = len(words)11 for k, v in map_.items():12 if (v % n) != 0:13 return False14 return True
WPM •0 •0
ACC •0 •0
TIME •0