#400
Ant Across the Cube
Also asked as: The ant on a cube problem · shortest path across a cube
One of the classic quant interview questions, free to read in full.
MediumBrainteasers & Logic
Problem
An ant sits on one corner of a cube and each second walks along a randomly chosen edge (each of the 3 equally likely). What is the expected number of seconds to reach the diagonally opposite corner?
Your answer
Accepts decimals, fractions (5/12), and percentages (25%).