You are viewing a single comment's thread. Return to all comments →
def makingAnagrams(s1, s2): for i in s1: if i in s2: s1=s1.replace(i,"",1) s2=s2.replace(i,"",1) return(len(s1)+len(s2))
Here is my simple python 3 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 →
Here is my simple python 3 solution