Meta interview question

a question about frequency of array