On Wed, Dec 31, 2008 at 9:15 AM, MRAB <google at mrabarnett.plus.com> wrote: (snip) > A while back I posted a Python implementation of 'bag' (also called a > multiset). The code would then become something like: What complexity is this ? cheers James