5
Answers

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

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)