Top "Duplicates" questions

The "duplicates" tag concerns detecting and/or dealing with multiple instances of items in collections.

Using XOR operator for finding duplicate elements in a array fails in many cases

I came across a post How to find a duplicate element in an array of shuffled consecutive integers? but later …

c++ c duplicates xor
How to remove duplicates from unsorted std::vector while keeping the original ordering using algorithms?

I have an array of integers that I need to remove duplicates from while maintaining the order of the first …

c++ duplicates stdvector stl-algorithm stdset
Avoiding duplicated messages on JMS/ActiveMQ

Is there a way to suppress duplicated messages on a queue defined on ActiveMQ server? I tried to define manually …

java duplicates jms activemq mom
How to find duplicates values and keep only those rows?

I am checking an huge Open Office Calc list on multiple values in column C. I have a file like …

duplicates openoffice-calc
Cloning a record in rails, is it possible to clone associations and deep copy?

I'm .clone -ing a record in rails... new_blerg = Blerg.find(1).clone This record has loads and loads of associations, …

ruby-on-rails activerecord duplicates clone deep-copy
Delete duplicate rows using Analytical functions

Can we delete duplicate rows using analytical functions? I mean using row_number() or rank or dense_rank() in Sql …

sql oracle duplicates rows analytical
How to remove duplicated records\observations WITHOUT sorting in SAS?

I wonder if there is a way to unduplicate records WITHOUT sorting?Sometimes, I want to keep original order and …

sorting sas duplicates
Oracle 'INSERT ALL' ignore duplicates

I have a database table with a unique constraint on it (unique (DADSNBR, DAROLEID) pair). I am going to be …

oracle insert duplicates unique-constraint
Robomongo : Exceeded memory limit for $group

I`m using a script to remove duplicates on mongo, it worked in a collection with 10 items that I used …

mongodb duplicates out-of-memory
Duplicate TCP traffic with a proxy

I need to send (duplicate) traffic from one machine (port) and to two different machines (ports). I need to take …

tcp proxy duplicates traffic haproxy