HammingDistance
returns the Hamming distance of
a
andb
, i.e. the number of different elements.
See:
- Wikipedia - Hamming distance
- Youtube - Hamming codes and error correction
- Youtube - Hamming codes part 2, the elegance of it all
Examples
The IgnoreCase
option makes EditDistance
ignore the case of letters:
Implementation status
- ✅ - full supported