IBM Interview Question

A question about the Hamming distance