You are viewing a single comment's thread. Return to all comments →
def sockMerchant(n, ar): # Write your code here temp = {} pairs = 0 for i in ar: if not temp.get(i): temp[i] = 1 else: temp[i] = 0 pairs += 1 return pairs
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 →