Essential Math, Editors Pick, Mathematics, Data Science, Machine Learning.
and 11 for TT. You could use other codes, such as 0 for HH, 100 for HT, 101 for TH, and 111 for TT. However, this code uses a larger number of bits on average (considering that the probability distribution of the four events is uniform, as you’ll see) Let’s take an example to see what a bit