Solarity Interview Question

Bounding array Hamming distance calculation