Re: Algorithm help for unique string searching/counting within an array.



"Paul Van Delst" <Paul.vanDelst@xxxxxxxx> wrote in message
news:e5hsjr$k4s$1@xxxxxxxxxxxxxxxxxxxxx
Hello,

I want to be able to search an array of strings (with many repeated elements)
so I can
count the unique elements. I've attached a working program at the bottom of
the post so
you can see what I've got so far.

You could use a hash array to store the elements
(repeat elements are not stored, only counted).
When done, the elements having a zero count
are the unique ones.
Storing the elements and accessing them is very fast.


.