You are viewing a single comment's thread. Return to all comments →
from collections import Counter def lonelyinteger(a): # Write your code here freq = Counter(a) for key, value in freq.items(): if value == 1: return key
Seems like cookies are disabled on this browser, please enable them to open this website
Lonely Integer
You are viewing a single comment's thread. Return to all comments →