+ 3

I want to print the every number's frequency(repetation) of inputed numbers

If my input is 1,6,8,1,3,6,1,1 Then he will print 1 occurs 4 times 6 occurs 2 times 8 occurs 1 times 3 occurs 1 times

9th Mar 2019, 5:41 PM
Ꮙⅈꀘ∀sˢˢ🕖🕕🕕🕒
Ꮙⅈꀘ∀sˢˢ🕖🕕🕕🕒 - avatar
1 Respuesta
0
Try it yourself first then after your try I'll help you! Hint use indexOf or ES6 better
9th Mar 2019, 6:14 PM
Juan David Padilla Diaz
Juan David Padilla Diaz - avatar