use Math.random and then count occurrences

Printable View