Random walk across a cube
Asked at Jane Street, Jump Trading
An ant starts at one vertex of a cube and each second moves along a randomly chosen edge (each of the incident edges with probability ).
What is the expected number of steps for the ant to reach the diagonally opposite vertex?
Show a hint
You don't need 8 states. Group vertices by their distance from the target, the walk only sees that distance.