Solution (source code)

= Solution

<Maximum-likelihood decoding> chooses a codeword maximizing $p(y\mid x)$ for the received word $y$. It uses the <likelihood> alone, without weighting by the prior probabilities of the codewords.