Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Using Counter, O(n) solution in Clear category for Non-unique Elements by rugala
from collections import Counter
def checkio(data):
freqs = Counter(data)
return [item for item in data if freqs[item] > 1]
April 20, 2015
Comments: