Is there such an idiom?

Rene Pijlman at
Mon Mar 20 01:25:55 CET 2006

>how to find whether there is/are common item(s) between two list
>in linear-time?

To find items in common between two lists, make the first into a
dictionary and then look for items in the second in it.

René Pijlman

Wat wil jij leren?

More information about the Python-list mailing list