Bloomberg LP Interview Question for Financial Software Developers






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

Label the 4 bottles A,B,C and D. Take 1 tablet from A , 2 from B , 3 from C and 4 from D and weigh it. if the weight is 99 the lighter bottle is A , if its 98 its from B and so on..

- Musheka December 12, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Genius, I can't come up with this bright answer

- Anonymous December 15, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Right answer. Just a little correction....

As there are 5 bottles instead of 4, so

Label the 5 bottles A,B,C,D and E. Take 1 tablet from A , 2 from B , 3 from C, 4 from D and 5 from E and weigh it. if the weight is 149 the lighter bottle is A , if its 148 its from B and so on..

:-)

- Helper January 09, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Genius!

- @Musheka December 15, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

genius~~~~~~~~

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

But to do that, we need to know how many pills each bottle contains!
And it should be the same quantity of pills in each bottle.

Then it is easy:

Let say, we have 10 pille in each bottle.


Then, if all of them contain heavy pills, they all together should weigt:
90+80+70+60+50


If we have light pills in the first one, they should weight:

(90-9)+80+70+60+50


If we have light pills in the second one, they should weight:

90+(90-9*2)+70+60+50


And so on.

- sergey.a.kabanov January 15, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Great answer

- siva.sai.2020 May 13, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Amazing answer

- Anonymous December 16, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

superb!

- Anonymous December 30, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Awesome dude..

- RajiniHassan January 02, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

what about the 5th bottle?

- Anonymous January 06, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

If the weight is 100, then it's in the 5th.

- Anonymous January 09, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

What 100 ??? If its 5th its 145, if its 4th 146, 3rd 147, 2nd 148, 1st 149...

- Anonymous February 01, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

I misread the question as 4 bottles.. Anyways as many would have guessed,the idea still remains the same as the answer I had first posted..

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

WHY THE F--K ARE BRAINTEASER GIVEN.
IT'S SO OLD SCHOOL.
MODERN COMPANIES DON'T GIVE BRAIN TEASERS ANYMORE.
IN FACT, IT'S BAN IN MICROSOFT AND GOOGLE!
GET ON WITH THE PROGRAM BLOOMTURD

- Anonymous May 24, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I wonder .. why do I see all such comments as anonymous :P

- Loony July 20, 2010 | Flag


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