Pubamatic Interview Question
- 3of 3 votes
You want to go for a movie. You will select a day Sun-sat by flipping coins (You have infinite coins) such that the probability of selecting any day is always same.- Mumbaiya_Chori January 30, 2015 in India
My answer: flip seven coins, select the coins which have heads if x coins are head, flip head coins. Follow this process until you just have one day left.
The interviewer confused me in this approach and made me believe I am wrong. But later he said that this method may work.
Also the answer he gave is flip 3 coins so outcome will be 2^3 you can discard all heads or alll tails
| Report Duplicate | Flag | PURGE
Interview Type: Phone Interview
Open Chat in New Window