Bloomberg LP Interview Questions
- 0of 0 votes
AnswerDesign a class for a bakery.
- anonymous February 23, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer - 0of 0 votes
AnswersWhat are the differences between new (in C++) & malloc (in).
- Rahul February 10, 2011| Report Duplicate | Flag | PURGE
Synopsys R&D Bloomberg LP Financial Software Developer C++ - 1of 1 vote
Answersstreaming byte data coming which can be intergers or characters
- Anonymous February 08, 2011
you have to sort both the integers and characters with there index intact.
for e.g you have c6b2e4a
your sorted array should be a2b4c6e| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Algorithm - 0of 0 votes
AnswersCode for tree traversal
- Anonymous February 05, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm - 0of 0 votes
AnswersBinary search
- Anonymous February 05, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm - 0of 0 votes
AnswersHow to search a number among a lot of numbers. I asked if it is one time thing. Answer is yes. Then I did sequential search; Then he said how about search another one....
- sana February 03, 2011
Then I said sort these numbers first and suggest binary tree.
Wrote down the binary search code| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm - 0of 0 votes
AnswersThere are 7 coins; One of them is different. Give you a weight and 2 chances to try. Please tell which one is different. (I can't....Sigh. Then he told me the different one is heavier. Then I got the answer.)
- sana February 03, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
AnswersSuppose there are 100 lights, which are all off. First round past them, turn all on;
- sana February 03, 2011
Second round past, turn every other off;
Third round, turn every third on;
vice verse;
Ask the 100 round past, which light will be on?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
AnswersDraw and explain the structure of one of my projects in my resume.
- sana February 03, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Behavioral - 0of 0 votes
AnswersHow will you store frequently occurring numbers?
- Anonymous January 30, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersA question on sql query on employee database.
- Anonymous January 30, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersWhat is the difference between c++ and java?
- Anonymous January 30, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersWhat is difference between C and C++?
- nikhil January 26, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
Answers2 , 1, 7 , 8, 5, 3, 11, 10
- nikhil January 26, 2011
Above are the stock price of a stock on different days . Given that you know these stock prices before hand, find how will you maximize the profit ? you have only 3 options ( Buy, Hold, Sell)
Write the sequence of steps that will give the max profit.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersHow will you free a object in C++ ?
- nikhil January 26, 2011
Ans : delete(obj);
Now how is this different than free(); ?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersWhat is difference between pointer and reference, and why do we not use pointers in C++ and use reference instead ?
- nikhil January 26, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersWhat is a stack? Modified a program with indefinite loop
- Sana January 18, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Debugging - 0of 0 votes
AnswersWhat is a linked list; what is a hash map
- Sana January 18, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Data Structures - 0of 0 votes
AnswerHow do you handle a confliction in a project. How do you divide the project within a team?
- Sana January 18, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersWhat is the difference between Java and C++
- Sana January 18, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Java - 1of 1 vote
AnswersI have a lottery ticket. Each of these lottery tickets has a 6 digit number on it. The winning lottery tickets are those whose sum of the first three digits is equal to the sum of the last three digits. How many possible winning tickets are there?
- Sonny January 14, 2011
Note: Leading ‘ZEROES’ are counted. So a number like 004103 is a valid winning ticket since 0+0+4 = 1+0+3.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
AnswersTell me the sequence of TCP socket function calls at server side.
- codyboy January 05, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Networking / Web / Internet - 0of 0 votes
AnswersWhat is the difference between malloc () and calloc ()?
- codyboy January 05, 2011| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C - 0of 0 votes
Answersclass A{//..};
- Anonymous January 01, 2011
class B1:public A{//..};
class B2:public A{//..};
how to cast A part of B1 to A part of B2| Report Duplicate | Flag | PURGE
Bloomberg LP - 0of 0 votes
AnswersPhone screen:
- anonymous December 09, 2010
45 minute interview. Horrible experience:
1. How do you call a C library from C++ code and how to you call a C++ library from C code? In the second one, the C++ library only contains pointers and normal function calls, nothing C++ related.
I didn't really know what he was looking for in the second case but then he gave me function overloading as a hint. Then mentioned name mangling.
2. You have an empty class. What does compiler do?
3. What if the class had 1 object? Then he asked if these objects can be sorted? (Sorry, I don't get it either.) When I said you can't sort 1 object then he switched and said an array of objects.
4. Can you sort these objects in the class as a key to a map?
5. What's the sorting order of a map?
6. You have a singly linked list from 1 to 10. and your pointer is pointing to the 5th element. Oh and you don't have a head or tail pointer. Tell me the algorithm to delete this element.
Sorry I don't remember some of the other ridiculous questions. :(| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer C++ - 0of 0 votes
AnswersPhone screen:
- Anonymous December 09, 2010
45 minute interview. Horrible experience:
1. How do you call a C library from C++ code and how to you call a C++ library from C code? In the second one, the C++ library only contains pointers and normal function calls, nothing C++ related.| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer - 0of 0 votes
AnswersHow would you write a spellcheck program that would highlight misspelled words as you typed?
- Anonymous December 02, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm