You are viewing a single comment's thread. Return to all comments →
def makingAnagrams(s1, s2): s3=list(s2) for i in s1: if i in s3: s3.remove(i) no_common=len(s2)-len(s3) return len(s1)+len(s2)-2*no_common
My Solution
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 →
My Solution