intern interview questions shared by candidates
Toss a fair coin between two people. If it end with HHT, A wins the game. If it ends with HTT, B wins the game. Whats the probability of A wining the game.
if order isn't important, than you have for possible outcomes. HHH, TTT, HTT, TTH. You can see immediately there's 1 chance out of 4 for A to win. If order is important, there are 8 possibilities. 1 chance out of 8 for A to win.
1/4 srsly? http://www.glassdoor.com/Interview/Flip-a-coin-until-either-HHT-or-HTT-appears-Is-one-more-likely-to-appear-first-If-so-which-one-and-with-what-probabili-QTN_46824.htm