Duplicates List from Sequence

new topic     » topic index » view thread      » older message » newer message

Who has the fastest duplicate finder?

sequence a = { a, b, c, d, e, a, b, c, f }

dupeList = duplicates(a)

dupeList = { a, b, c }

Maybe it should return positions in the sequence, such as

dupeList = { {1,6}, {2,7}, {3,8} }

Anybody have thoughts on this?

Thanks!
< |<

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu