Sales by Match

  • + 0 comments

    py def sockMerchant(n, ar): store = [] result = 0 for i in ar: if i not in store: store.append(i) else: store.remove(i) result += 1

    return result