The natural way to simulate experiments with balls and bins is to create an array that stores the load at each bin. To simulate $1,000,000$ balls being placed into $1,000,000$ bins would require an array of $1,000,000$ counters. An alternative approach is to keep an array that records in the $j$ th cell the number of bins with load $j$. Explain how this could be used to simulate placing $1,000,000$ balls into $1,000,000$ bins using the standard balls-and-bins paradigm and the balanced allocation paradigm with much less space.