Community Profile

photo

Tyron Louw


Active since 2018

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How do I count the number of new occurrences of a number in an array?
I have an array given as x = [1 1 1 1 1 1 1 2 2 1 1 1 3 3 3 3 1 1 1 1 3 1 5] I am trying to calculate how many new occurr...

5 years ago | 1 answer | 0

1

answer