Top "Unique-values" questions

This tag is for questions involving values which are only one of its kind; unlike anything else.

Efficient list of unique strings C#

What is the most efficient way to store a list of strings ignoring any duplicates? I was thinking a dictionary …

c# unique-values
How to get unique value in multidimensional array

I have done a lot of looking around on the overflow, and on google, but none of the results works …

php multidimensional-array unique-values
How to get unique values in List

I have 2 text files with data. I am reading these files with BufferReader and putting the data of one column …

java list unique-values
What regular expression can remove duplicate items from a string?

Given a string of identifiers separated by :, is it possible to construct a regular expression to extract the unique identifiers …

regex unique-values
How do I get a list of unique values from a column in Excel VBA?

I've gone through many different articles that filter unique values; however almost all of them copy to a new location / …

vba excel filter unique-values
Get unique value of one attribute from array of associative arrays

I have an array like this: $a = array( 0 => array('type' => 'bar', 'image' => 'a.jpg'), 1 => array('type' =&…

php arrays foreach unique unique-values