finding items that occur more than once in a list

sturlamolden sturlamolden at yahoo.no
Wed Mar 19 18:14:25 EDT 2008


On 19 Mar, 22:48, John Machin <sjmac... at lexicon.net> wrote:

> I'd use Raymond Hettinger's solution. It is as much O(N) as Paul's,
> and is IMHO more readable than Paul's.

Is a Python set implemented using a hash table?



More information about the Python-list mailing list