View previous topic :: View next topic
|
Author |
Message |
Velmurugan_j
New User
Joined: 04 Aug 2005 Posts: 49
|
|
|
|
Can anyone help me in finding out duplicates in the Array |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
If this is a large array, I would recommend writing the entries to a (temporary) dataset, then using SORT to eliminate duplicate.
For smaller array, there are few classic algorithms for duplicates removal. Search Google for examples and pesudo-code.
O. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, I would follow Ofer's advice and use an external call to your sort product. |
|
Back to top |
|
|
|