You are viewing a single comment's thread. Return to all comments →
def sockMerchant(n, ar): res, lst = 0, [] for i in ar: if i in lst and (lst.count(i) % 2) != 0: res += 1 lst.append(i) return res
Seems like cookies are disabled on this browser, please enable them to open this website
Sales by Match
You are viewing a single comment's thread. Return to all comments →