You are viewing a single comment's thread. Return to all comments →
def lonelyinteger(a): # Write your code here data = Counter(a)
for key, value in data.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 →
def lonelyinteger(a): # Write your code here data = Counter(a)