1from collections import Counter234class Solution:5 def checkAlmostEquivalent(self, w1: str, w2: str) -> bool:6 return all(7 v < 48 for v in (9 (Counter(w1) - Counter(w2)) + (Counter(w2) - Counter(w1))10 ).values()11 )
WPM •0 •0
ACC •0 •0
TIME •0