1from collections import Counter234class Solution:5 def uncommonFromSentences(self, s1: str, s2: str) -> List[str]:6 x = dict(Counter(s1.split() + s2.split()))7 ans = []8 for key in x:9 if x[key] == 1:10 ans.append(key)1112 return ans
WPM •0 •0
ACC •0 •0
TIME •0