Click here to Skip to main content
13,343,731 members (59,962 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Dear All,

int array_numbers[]={1,2,3,4,1,2,3,1,9,6,7,8};

what will be the best way to find home duplicate numbers from the array and each duplicate numbers count.

Posted 6-Jan-13 21:42pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

sort array and then start counting/deleting

visit link[^]

Happy Coding!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180111.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100