You are viewing a single comment's thread. Return to all comments →
Scala
def makeAnagram(a: String, b: String): Int = { val anagram = a intersect b (a.length - anagram.length) + (b.length - anagram.length) }
Seems like cookies are disabled on this browser, please enable them to open this website
Strings: Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Scala