You are viewing a single comment's thread. Return to all comments →
Python3
def gemstones(arr): # Write your code here s = set(arr[0]) count = 0 for i in s: if all(map(lambda x: i in x, arr)): count += 1 return count
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 →
Python3