Bloomberg LP Interview Question for Financial Software Developers






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

4=3+3-5+3
you pour 3L to the 5L jug twice till 5L jug is full, what is left is 1L in the 3L jug. now empty the 5L jug and pur the 1L into the 5L jug, then measure 3L using the 3L jug and pour it to the 5L jug which has 1L in it.

- Jackie September 15, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

- Fill 5 L jug
- pour it into 3 L jug
- Empty 3 L jug
- Pour the remaining from 5 L jug into 3 L jug. (Now, there will be 2 L filled in 3 L jug)
- Fill 5 L jug again
- Pour it into 3 L jug until 3 L just is filled
- Now you have 4 L filled in 5 L jug

- Anonymous September 13, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

4 = 5-(3-(5-3))

- bindas September 14, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

4 = 2*5 - 2*3

where 2*5 means fill 5L full 2 times from the water pool
-2*3 means fill 3L twice from 5L and discard the water

- Handong January 25, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

really easy way to do it

fill 3 jug empty into 5, then fill 3 again and empty into 5, you will have 1 left in the 3 jug, empty the 5, and put the 1 litre in the 5 litre jug, then fill the 3 litre jug and add it to the one, thats 4 in total

- omz March 13, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

best answer!

- cacci May 07, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

use ax + by = (a,b) and solve for any given numbers.

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

5-3+5-3

- Lei September 26, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

put 3L twice in 5L so in #l remain 1L; empty 5L nd put 1L in 5L and add 3 more L

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

Good answer here:

programmerinterview.com/index.php/puzzles/measure-4-liters/

- jay March 19, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

how would you measure 1 liter using a 5 and 3 liter jugs?????????????????????????????

- lolville November 17, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

how would you measure 1 liter using a 5 and 3 liter jugs?????????????????????????????

- lolville November 17, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

how would you measure 1 liter using a 5 and 3 liter jugs?????????????????????????????

- lolville November 17, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

how would you measure 1 liter using a 5 and 3 liter jugs?????????????????????????????

- lolville November 17, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

how would you measure 1 liter using a 5 and 3 liter jugs?????????????????????????????

- lolville November 17, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.


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