Topgun_68
- 34
- 0
Homework Statement
I have a Hamming function which takes two inputs, domain & co-domain and the output is how many bits are different.
Example: f(11100, 11101) = 1 (only one bit is different).
Is this one to one?
I say no because there could be many other combinations if inputs that can produce the same answer as the output. For example f(11110, 11100) = 1 also.
I just want to know if my thinking is correct or totally off base.
Thanks for any feedback!
Last edited: