Re: Algorithm help for unique string searching/counting within an array.
- From: "robin" <robin_v@xxxxxxxxxxx>
- Date: Wed, 31 May 2006 14:58:44 GMT
"Paul Van Delst" <Paul.vanDelst@xxxxxxxx> wrote in message
news:e5hsjr$k4s$1@xxxxxxxxxxxxxxxxxxxxx
Hello,so I can
I want to be able to search an array of strings (with many repeated elements)
count the unique elements. I've attached a working program at the bottom ofthe 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.
.
- References:
- Algorithm help for unique string searching/counting within an array.
- From: Paul Van Delst
- Algorithm help for unique string searching/counting within an array.
- Prev by Date: Re: Bounds Check Overhead
- Next by Date: Re: allocatable array *not* equivalent to dynamic allocation?
- Previous by thread: Re: Algorithm help for unique string searching/counting within an array.
- Next by thread: Test send
- Index(es):