Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Bloomberg Interview Experience | Set 4 (Entry-Level Software Engineeer)

  • Difficulty Level : Hard
  • Last Updated : 29 Nov, 2016

Interview Process : I applied through career page and got reply through mail for scheduling 45 minutes interview (2:1) on hackerrank codepair.

After successfully passing this round, I had to go though video conference interview (2:1) with live coding on hackerrank.

Hey geek! It's time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!

Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!

Then, I was called for onsite interview which was 2 hrs interview along with coding on hackerrank.



According to me, unable to give proper response for questions like “Why Bloomberg” caused me rejection so I would suggest to a do a background research of the company before the interviews.

Interview questions:

First round:

First question:




#include <string.h>
int main(int argc, char *argv[])
{
    char    abc[27];
    char    *ptr = abc;
    strncpy(abc, "abcdefghij",10);
     /*
     * What are the return types of each expression:
     *
    
     * 1. abc
     * 2. *abc
     * 3. abc[2]
     * 4. &abc[3]
     * 5. abc+4
     * 6. *(abc+5)
     * 7. abc[10]
     * 8. abc[11]
     * 9. ptr
     * 10. &ptr
     */
     return 0;
}


Second question:

Write a linked list class along with append function(add a node at the end) and destructor function.

Second round:
First question : Write a function that takes two node pointers as argument and gives the lowest common ancestor of them in the binary search tree. Also, I was asked about about space and time complexity.

Second question: Given two numbers in the form of singly linked list in such a way that most significant nbit is at the head, ex. 123 is stored as 1->2->3, write a function that takes arguments as pointers to head of two linked list representing numbers and returns pointer to head of another linked list which represents the number that is result of addition of the two numbers given as arguments.

ex: 1->2->3 , 4->5->6 should return 5->7>9.

I was also asked about time and space complexity of my solution, and how my solution will change if linked list would have been doubly linked list.

Third round (On-site) :
First question: Initially I was given a number that I should consider as terminating number. Given a continuous stream of numbers, write a function that returns the first unique number whenever terminating number is reached. Interviewer wanted an answer that was in O(1) when a terminating number is reached, so basically preprocessing was required.
Through this question, my knowledge on how process works, I mean what is heap. stack, global variables, local variables was also checked. i was also asked how hash map works, its time complexity, how it is calculated, I was also asked in detail about linked list and array and also about iterator dereference.

Apart form this, I was also about my most challenging project, most boring project, why I chose Computer Science as my field, why Bloomberg etc.

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.




My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!