What is the Hamming distance between 1001 and 0110?
Question 1
Q1. What is the Hamming distance between 1001 and 0110?
Answer: 4
Explanation: Hamming distance is the number of different bits, here it is 4 (1 vs 0, 0 vs 1, 0 vs 1, 1 vs 0).