You are viewing a single comment's thread. Return to all comments →
Python:
def gemstones(arr): s = set(arr.pop()) for string in arr: s = s.intersection(string) return len(s)
Seems like cookies are disabled on this browser, please enable them to open this website
Gemstones
You are viewing a single comment's thread. Return to all comments →
Python: