Content deleted Content added
m +fr: |
Added blue to first examples and emboldened examples to make reading easier |
||
Line 2:
For example:
* The Hamming distance between
* The Hamming distance between
* The Hamming distance between "
The '''Hamming weight''' of a string is its Hamming distance from the zero string (string consisting of all zeros) of the same length. That is, it is the number of elements in the string which are not zero: for a binary string this is just the number of 1's, so for instance the Hamming weight of 11101 is 4.
|