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)
Gemstones
You are viewing a single comment's thread. Return to all comments →
Python: