You are viewing a single comment's thread. Return to all comments →
Ruby:
def sockMerchant(n, ar) ar.tally.values.inject(0) { |result, num| result + num/2 } end
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 →
Ruby: