You are viewing a single comment's thread. Return to all comments →
Python Soln Using Counters Intersection
def makingAnagrams(s1, s2): interSection = sum((Counter(s1) & Counter(s2)).values()) return (len(s1) - interSection) + (len(s2) - interSection)
Seems like cookies are disabled on this browser, please enable them to open this website
Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Python Soln Using Counters Intersection