Bloomberg LP Interview Question for Software Engineer / Developers


Team: Supply Chain
Country: United States
Interview Type: In-Person




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

We know that the bacteria doubles its volume in one minute. So, if it took the jar 1 hour to be full, we know that it it will take (1 hour - 1 min) i.e 59 mins for the jar to be half.

- bosscoder December 06, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

59 minutes. as 2 pow 60 = full jar, hence half jar = 2 pow 60/2 = 2 pow 59 -> 59 minutes

- shyam January 04, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

It takes 60 mins to fill the jar since bacteria doubles it's volume every 1min so to fill half the jar it takes 59 minutes

- rayasamharish January 19, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

59

- neeraj December 07, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

2^60V=jar==>2^59=jar/2

- simon.zhangsm December 10, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

This is the good way to solve because it will give answer to any portion

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

59 minutes..Its like binary tree

- Aniket January 02, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

can u explain it

- Codie June 04, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

59 min

- Syed Abdul Waris January 11, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

59 miutes

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

59 mins

- Anonymous February 15, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

half an hour daaahhh

- Anonymous March 03, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It will take 59 mimutes to fill half of the jar

- Gaurav March 24, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

it will take 59 m.

- patil March 28, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

{{

it will take 59 minits.


}}

- patil March 28, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

59 Minutes, As the volume gets doubled per minute.

- Jay April 04, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

59 minutes.

- anik2137 April 05, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Reverse engineering ... One hour to fill the jar .. and it doubles ..
if it half then it takes 30 mins .. :)

- Manoj Kumar Gudala October 01, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

59 min

- Mohit G October 20, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

59 min

- mohitgorhe October 20, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Seqnce formed is- 1 2 4 16 32.....
Its gp with common ratio 2.
Volm of bacteria at time t is 2 power t-1
volm at 60 min is 2power59.
Half of volm of 60 min-
vol@60 min/2=2power t-1 i.e t=59

- Rahul sharma October 27, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

59 minutes is the correct answer. When I was asked this I was told that it was a worm that replicates vs bacteria. Now, assuming that we are starting with a single bacterium that replicates in the first minute N1, and by N60, the jar is full. How many worms or bacterium are there in the jar, in the 60th minute? If you want to really impress your audience, you should also be prepared to answer this question.

Hint: It's a very simple exponent

- Kam March 22, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

log(2^60) ~ 18, so that'll be ~10^18 = 1 quintillion bacteria. :)

- mike800 May 23, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The example of a beaker with a single bacterium in it. That divides and doubles itself. If you place the first bacterium into the beaker, how much time it takes to half full? And how much time it takes to full?

if we put the bacteria in 720 milliliter jar that you get the answer

- sameer February 03, 2017 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

<<<666666>>>

- sameer February 03, 2017 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

9999

- sameer February 03, 2017 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

How could you all say that it wiil take 59 minute,...

It will take 30 minutes to fill the half of tbe jar because its volume is getting double every minute.

- Paul February 03, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

what if the question is modified this way?
I have an empty water bottle. I drop one worm inside the water bottle and it divides in half, and the following worms divide in half, and the bottle fills up in 30 seconds. How many seconds would it take the bottle to fill up if I originally dropped in two worms?

- vishnukumar.nersu March 05, 2019 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

29seconds

- Anonymous July 04, 2019 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

29sec

- Kaviyarasan V July 04, 2019 | 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