Bloomberg LP Interview Questions
- 3of 3 votes
AnswersQ: Do you know what is a stack? Explain
- Aditya April 14, 2013 in United States
A: Yes, explained LIFO push pop peek
Q: In stack, Push and Pop are constant. What will you do if you want an operation which gives the min of the stack also in constant time?
A: Question is straight out of Gayle's Book. You just maintain a new stack of minimum number till that point.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Stacks - 0of 0 votes
Answers3 Baskets, with label Apple Orange and Mixed. All the lables are incorrect. Pick up one fruit from one of the 3 baskets and find the correct labels for these 3 baskets.
- cronaldo March 28, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersHow to find a missing value in an size N unsorted array (value from 0 to N but missing one of them).
- cronaldo March 28, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersDifference between C++ and Java
- cronaldo March 28, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer - 0of 0 votes
AnswersGiven a char array {1,234,34,54}
- tom March 20, 2013 in United States
Modify the char array so that there is no comma in the most efficient way. We must get a char array {12343454}| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer Intern - 1of 1 vote
AnswersGiven an unsorted set of numbers from 1 to 10 with one number missing .
- tom March 20, 2013 in United States
How to find the missing number in the set without sorting. How to find if two numbers are missing in the set?| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer Intern Problem Solving - 0of 0 votes
AnswersHad a phone interview with Bloomberg.
- deviprasad02 March 19, 2013 in United States
Asked about my projects and my contribution to each of them. How to sort numbers between 1 and 10000. How will you sort if there are 10000 numbers between 1 and 50000. Which sort do you prefer for linked list and array list. Again asked about my projects. Any questions? done with the phone interview. No Coding part.| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer Intern - 0of 0 votes
AnswersIn browsers caching of web links that a user clicks is done.
- rahul.jain215 March 15, 2013 in United States
The recent url that user clicks on should come to the top of the list.
How to implement hash table for it?| Report Duplicate | Flag | PURGE
Bloomberg LP Algorithm - 0of 0 votes
AnswersAssume you daily prices of a stock
- hizzle March 10, 2013 in United States
3 7 4 10 11 8 5 4 8 yadda yadda
You can only buy 1 share or sell 1 share a day, but you can only sell if you own the stock. You can't hold more than 1 share. write me an algo that finds me the strategy that has the highest pay off.
Don't want the generate all possible strategies and compare.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm - 0of 0 votes
Answersvoid populate(char **s); int main() { char *s; populate(&s); printf("%s", s); // should print "Prasad" free(s); return 0; } void populate(char **str) { // 1. The next two lines is one implementation *str = (char *)malloc(sizeof(char) * 7); strcpy(*str, "Prasad"); // 2. This line seperately is another implementation *str = "Prasad"; }
What is wrong, if anything, with the two implementations of populate.
- prasad_usc February 09, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C - 0of 0 votes
AnswersWhat are uses of Btree, AVL and RBtree(individual applications as i explained that we use them whenever we need balanced BST and he wasnt convinced)
- vik February 09, 2013 in United States
When would you specifically use Btree over AVL tree.
Which one out of balanced BST is most efficient(for which i answered Btree for large values of n) and he asked why dont we always use Btree then?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Data Structures - 3of 3 votes
AnswersDesign a phonebook dictionary which on input any characters gives names and phone number of all the matching names(prefix)
- vik February 08, 2013 in United States
For instance
Rihana 233222232
Ricky 134242444
Peter 224323423
Ron 988232323
If you give R as input it should list
Rihana Ricky and Ron which their contact numbers
If you give ri as input it should list
Rihana, Ricky which their contact numbers| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm Data Structures - -3of 3 votes
AnswersIf have unlimited memory, how can we achieve concurrency between threads without using locks?
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersFind max depth of a binary tree
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Trees and Graphs - 0of 0 votes
AnswersDisadvantages of locks? What is Deadlock? What is Starvation?
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersHow would a mutex lock be implemented by the system?
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Threads - 0of 0 votes
AnswersHow is mutual exclusion done in C++?
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersHow would you implement Garbage Collection in C++?
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
AnswersA solution takes 8 hours to do n independent jobs. What will you do to improvise?
- TechWorld January 25, 2013 in United States for Financial Software Developer
Follow up: Improvise on a single processor
Follow up: If N task work uses shared memory| Report Duplicate | Flag | PURGE
Bloomberg LP Intern Application / UI Design - 0of 0 votes
AnswersHow to design Hash map using array.
- TechWorld January 25, 2013 in United States for Financial Software Developer| Report Duplicate | Flag | PURGE
Bloomberg LP Intern Algorithm - 0of 0 votes
AnswerDesign a database for storing record of students.
- TechWorld January 25, 2013 in United States for Financial Software Developer| Report Duplicate | Flag | PURGE
Bloomberg LP Intern Database - 0of 0 votes
AnswersDevelop and algorithm to reverse a string keeping words intact. Example: This is a question
- TechWorld January 25, 2013 in United States for Financial Software Developer
result should be: question a is This| Report Duplicate | Flag | PURGE
Bloomberg LP Intern Algorithm - 0of 0 votes
AnswersDevelop an Algorithm to implement queue using stack
- TechWorld January 25, 2013 in United States for Financial Software Developer| Report Duplicate | Flag | PURGE
Bloomberg LP Intern Algorithm - 0of 0 votes
Answera. How does OS detects a device on boot up, how does it gets to know whether it is working or faulty?
- T January 23, 2013 in United States
b. How does the device driver initialize this device (initialization, registration etc)?| Report Duplicate | Flag | PURGE
Bloomberg LP Intern - 0of 0 votes
AnswersWhat is pass by value and pass by reference?
- T January 23, 2013 in United States
a. Can a structure be passed by value?
b. Can an array be passed by value?| Report Duplicate | Flag | PURGE
Bloomberg LP Intern - 0of 0 votes
AnswersHow will you implement a T9 dictionary? (requiring only 1 look up, no partial searches meaning one keys in a name and then presses go to find it)
- T January 23, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Intern Algorithm - 0of 0 votes
AnswersHow will you tell whether a given number is a palindrome?
- T January 23, 2013 in United States
Edit: The question was for a string actually.| Report Duplicate | Flag | PURGE
Bloomberg LP Intern C - 0of 0 votes
AnswersHow will you reverse a given number? (not using "/", "&" operators)
- T January 23, 2013 in United States
For eg 756 - > 657| Report Duplicate | Flag | PURGE
Bloomberg LP Intern C - 0of 0 votes
Answershow many sockets can you have?
- Itcecsa June 10, 2012 in United States
what will a server do after getting a request from a client?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Networking / Web / Internet - -1of 1 vote
Answersmulticast VS broadcast
- Itcecsa June 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Networking / Web / Internet