Find the distance between each of the following pairs of wor
Find the distance between each of the following pairs of words:
(a) 11011011 and 10100110
(b) 01110100 and 11101100
Solution
a)
11011011 = 1+2+8+16+64+128 = 219
 10100110 = 2+4+32+128 = 166
 difference is 53
b)
01110100 = 4+16+32+64 = 116
 11101100 = 4+8+32+64+128 = 236
 difference is 120

