You are viewing a single comment's thread. Return to all comments →
I decided to reduce the time complexity using a set of a.
a_set = set(a) for i in a_set: if a.count(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 →
I decided to reduce the time complexity using a set of a.