0
$\begingroup$

Possible Duplicate:
Comp Sci Math; Hamming Distance

I have been set a task:

What is the maxium possble Hamming distace between two noes from level i in an n-cube? Provide an explanation for your answer!

  • 0
    Well spotted, @Dilip. Voting to close as a dup.2011-10-07

1 Answers 1

2

The discription fore homework says "show sufficient effort". Well I don't think that this is the case... ;)

Anyway I think it would help yourself if you draw a square (which is a 2-cube) and try to find out the distance between the nodes (don't forget the diagonale). Afterwords try to generalize it to a n-cube.

  • 0
    @David Don't you think that **you** should tell us, what a "level" is? Hardly anything standard! If coerced to answer, I would hazard a guess that level $i$ consists of the nodes at Hamming distance $i$ from a given reference node, but that is just a guess. Think "triangle inequality", but also remember that there is a maximum to the Hamming distance on an $n$-cube. Or that "level" $i$ is (if I guessed correctly) the same set of points that forms "level" $n-i$ when viewed from the exact opposite reference point.2011-10-07