Bloomberg LP Interview Question
Financial Software DevelopersHey Sachin... Urs is a different method actually, please correct me if I understood your method correctly.....
It's based on basic prob definition. p(x)=(number of x occurrences)/(total occurrences).
3+1/5 = White ball occurrence
3+1/5+4/5 = Total occurrences....
So, P(white ball) = {3+1/5}/{3+1/5+4/5}
Nice, I never thought of solving this problem by this method.. Would have taken Nipun's or fiturus's method
Probability of taking a white ball from black container = 1/5
- Nipun June 19, 2010Then putting in black container and probability of taking a wihte ball from it = 1
Therefore tatal probability = 1/5
Probability of taking a black ball from black container = 4/5
Then putting in black container and probability of taking a white ball from it = 3/4
Therefore total probability = 3/5
Hence probability of white ball is = 3/5 + 1/5 = 4/5