#dsa
Read more stories on Hashnode
Articles with this tag
x = [1, 2, 3, 1, 3, 5, 2, 5, 7] # Way 1 - HashMap d = {} for e in x: if e in d: # Removes when found twice del d[e] else: ...