ハミング距離
The symbols may be letters, bits, or decimal digits, among other possibilities. For example, the Hamming distance between: