You are viewing a single comment's thread. Return to all comments →
Python 3
def sockMerchant(n, ar): r = 0 for i in set(ar): r += ar.count(i) // 2 return r
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 →
Python 3