|
-
Apr 15th, 2003, 04:38 AM
#1
Thread Starter
Addicted Member
array duplicate question - tricky
Hi,
I have a problem with finding the number that has the most duplicates within an array containing several thousand entries...
I can sort through and find dupes no problem, can find Min/Max and Average, but how do I go about finding the number that is duplicated the most within this array?
Small Example:
1234, 3323, 4567, 1234, 3323, 3444, 4444, 3323, 6678
I don't know what the real values will be when placed into the array, but in this example, 3323 is duplicated more times than any other number... I need to extract the number that has the most duplicates when looping through the array... Any ideas?
Does not matter how, or when extraction occurs...
Thanx a million in advance,
-Scott
Error... What Error?!?! I've only typed a single character!
______________________________
VB 6.0 EE, Win 2k Pro on AMD Duron 1Ghz/ 384 MB SDRAM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|