Tomas Westerlund

Tomas Westerlund

  • NA
  • 38
  • 32.6k

Best way to check number of occurrences in an int array?

Aug 24 2011 9:18 PM
Hi,
I have an int array which looks like this: 3,5,6,1,1,1,3,7

How do you usually count how many occurrences of each number exists?

Answers (5)