Explain Hamming distance
Hamming distance is a metric for comparing two binary data strings. While comparing two binary strings of equal length, Hamming distance is the number of bit positions in which the two bits are different. ... It is used for error detection or error correction when data is transmitted over computer networks.