Bloomberg LP Interview Question for Financial Software Developers






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

2 cuts........1 2 and 4
1st day..giv 1
2nd day giv 2 n tek 1
3rd day giv 1
4th day giv 4 n tek 1 n 2..
carry n.

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

Awesome dude!

- divyaC May 26, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

nice~~~~~~

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

this is a binary problem. sg has the right answer--you use powers of 2 (in this case, 1, 2, 4). if, for example, you had to divide 15 into as few segments as possible but still get all possible integers, you'd do 1, 2, 4, 8.

alternatively, if it was a ternary problem (for example, you want to weigh things using a scale, so the 3 options are 2 sides of the scale or not using a block) then you'd do powers of 3. so if you wanted to weigh all possible integer weights between 1 and 40, you'd do 1, 3, 9, 27.

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

Why is this problem a binary problem ?
And why is weighing things with a scale a ternary problem ?

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

3 cuts into 1 segment each
1st: cut into 4&3.
2nd: put 3 onto 4. cut at 2. Now we have 3 two-segment and 1 one-segment.
3nd: put 3 two-segment onto a stack, cut at 1.

- xicheng March 21, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

1st - give 1
2nd day - yesterday's 1 + give 1 = 2
3rd day - 2 + 1 = 3
4th - 3 + 1 = 4
5th - 4 + 1 = 5
6th - 5 + 1 = 6
7th - 6 + 1 = 7

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

lololol

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

oh man Raji solved this one real good

- Anonymous July 25, 2011 | 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