You are viewing a single comment's thread. Return to all comments →
python3
def gemstones(arr): s = set(arr[0]) for i in range(1, len(arr)): s.intersection_update(arr[i]) 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 →
python3