To find hamming distance we need 2 code words. From my example, we already have a code word which is 11011. For the second code words, you are free to choose any code word and find hamming distance, but inorder to get a minmum hamming distance, im choosing the other code word with just 1 bit change in the message word.