Bloomberg LP Interview Question for Financial Software Developers






Comment hidden because of low score. Click to expand.
10
of 10 vote

Probability of taking a white ball from black container = 1/5
Then 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

- Nipun June 19, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

yes I am also getting 4/5. Anyoe got different answer.

- Amol June 20, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

yes I am also getting 4/5. Anyone got different answer.

- Amol June 20, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

yes I am also getting 4/5. Anyone got different answer.

- Amol June 20, 2010 | Flag
Comment hidden because of low score. Click to expand.
2
of 2 vote

1. probality of picking 'white ball' from 'black container' is 1/5 and 'black ball' is 4/5.
2. 'white container' contains 3 existing 'white balls' + 1/5 new 'white balls'
and 4/5 new 'black balls'.
3. probabilty of the ball could be white is (3 + 1/5)/ (3+ 1/5 + 4/5)
= (16/5)/(4)
= 4/5

- Anonymous July 11, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

4/5 is right
3/4+1/4*1/5

- Huangxinyu June 20, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

how did you get 1/4*1/5?

- xankar June 28, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

1/5 of the time the fourth ball (i.e., 1/4) will be white

- yohans August 03, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. probality of picking 'white ball' from 'black container' is 1/5 and 'black ball' is 4/5.
2. 'white container' contains 3 existing 'white balls' + 1/5 new 'white balls'
and 4/5 new 'black balls'.
3. probabilty of the ball could be white is (3 + 1/5)/ (3+ 1/5 + 4/5)
= (16/5)/(4)
= 4/5

- sachin.magdum July 11, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Wow sachin.magdum's method is ... weird.

Probability of picking a black ball = (4/5)*(1/4) = 1/5 (first term is from black container, second term from white container)

Thus probability of picking a white ball is 1 - 1/5 = 4/5.

- futurus August 22, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Nipun's method looks fine.

- Richa Aggarwal November 10, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Yeah. Even I got 4/5.

- Karthik December 14, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Yes, I got 4/5 too.

- sharonluo February 05, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

:-) tonnes of same answer.... Seems everyone is having good concept in Probability....

- shekhar2010us February 10, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Hey 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

- shekhar2010us February 10, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

use simple bayes theorem

- Dipankar February 17, 2011 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More