Bloomberg LP Interview Questions
- 0of 0 votes
AnswersWrite a small program that takes two strings as input and prints two
- theOne January 27, 2007
numbers (n1 and n2) as output, where:
n1 is the number of letters in the first string that each has a match in
the second string in the same position in the string.
n2 is the number of letters in the first string that each has a match in
the second string but does not have a match in the same position.
Note that each match is unique. That is, no letter in either string can
participate in more than one match.
I.e., each letter instance can contribute at most once to n1+n2.
Some examples:
abc abcd -> 3 0
aab aacd -> 2 0
aba aab -> 1 2
aba bab -> 0 2| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Algorithm - 0of 0 votes
AnswerHow would you implement interfaces in c++?
- kbala January 16, 2007| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm - -1of 0 votes
AnswersWrite code to determine if a given square matrix is a magic square (each row, column, and diagonal has the same sum).
- paleo January 04, 2007| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Coding - 0of 0 votes
AnswersI was given a set of data structures and a set of complexities for search and insert operations, and asked to fill in the right ones.
- paleo January 04, 2007
Before doing that I was asked, "given the possibility that a mad monkey was asked to match the data structures with the corresponding complexities what is the probability of him getting it right, assuming he could pick the same complexity over and over again?"| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswerWhat's a virtual deconstructor?
- Alfy December 22, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersWrite code to find the sqrt of a number without using any library functions
- Sach (Sachin) December 22, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Coding - 0of 0 votes
AnswersExplain several different CPU scheduling algorithms.
- Sach (Sachin) December 22, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersImagine you have a listing of student names and marks. Give the best data structure to store the same. Now imagine that you have range of student names starting from a to l, m to z. Use a data structure for such a layout.
- Sach (Sachin) December 22, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersExplain what a virtual function and virtual table is
- Sach (Sachin) December 22, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersWhat is a void pointer. How will you convert this pointer to an integer pointer?
- Sach (Sachin) December 22, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersFor a balanced binary search tree find the number of leaf nodes for a tree with depth 10.
- Sach (Sachin) December 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Math & Computation - 0of 0 votes
AnswersHow much memory will the following code take.
- Sach (Sachin) December 21, 2006
void example
{
int bytes;
virtual functionName{ };
}| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersWhat are object oriented programming and polymorphism?
- Amod December 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersWrite a program to multiply 2 really long numbers
- Amod December 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Coding - 0of 0 votes
AnswersWrite code to reverse the order of words in a sentence
- Amod December 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Coding - 1of 0 votes
AnswerWhat do you look for in bloomberg? Will you be happy with maintainance work?
- Gayle Laakmann December 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Behavioral - 0of 0 votes
AnswersTell me one time when you thought you were doomed but you came out of the problem and how?
- Amod December 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Behavioral - 0of 0 votes
AnswerExplain the difference between: static, global, static within function,vlocal within function
- Amod October 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - -1of 1 vote
AnswersIf we make you an offer when can you join? and what is the pay you expect?
- Amod October 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Behavioral - 0of 0 votes
AnswersDiff between C++ and java
- Amod October 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersTell me the toughest problem you faced and how you solved it?
- Amod October 21, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Experience - 0of 0 votes
Answers3) What are memory leaks ? what tools you have used ?
- Alfy July 31, 2006
4) Whats the size of integer, double - basic questions ?
5) How will you determine the size of an variable without using sizeof operator ?
Ans: Basically get the difference on the pointer address for the current and the incremented position and storing the difference on data type ptrdiff_t.| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
Answers6) whats the difference between malloc and calloc ?
- Alfy July 31, 2006
7) whats the difference between new and malloc ?
8) whats a virtual function ?| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 0of 0 votes
AnswersHow would you get a process listing in a unix box? What about for a particular user?
- Alfy July 31, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersWhats the difference between a pointer and a reference variable?
- Alfy July 31, 2006| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer C Terminology & Trivia - 0of 0 votes
AnswersWhat's the size of a empty class
- Alfy July 31, 2006
class { }| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Terminology & Trivia