5
Answers

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

Tomas Westerlund

Tomas Westerlund

13y
3.9k
1
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)