Robotics

Expected value of a coin-flip game — should you bet?

mediumsubjective

Asked in interviews

In a game you flip a fair coin repeatedly and receive 1foreachflip,stoppingwhenyougetatail.Wouldyoupay1 for each flip, stopping when you get a tail. Would you pay 2 to play this game? Compute the expected payout.

Voice input needs Chrome or Edge. On this browser, type your answer — grading is the same.