You are viewing a single comment's thread. Return to all comments →
yo guys this is simpler and more effecient.....
from collections import Counter as c
at #write your code replace it with res=c(a) for i in a: if res[i]==1: return i
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 →
yo guys this is simpler and more effecient.....
from collections import Counter as c
at #write your code replace it with res=c(a) for i in a: if res[i]==1: return i