How would you implement a garbage collector? Explain the most popular approaches, discuss their pros and cons. Discuss the data structures you would use for the implementations and the reasons for your choices.
Developer Intern Interview Questions
5,286 developer intern interview questions shared by candidates
Populate the siblings of children in a tree.
1. Given a list of strings return all strings that are ambigrams of each other. 2. Implement a linked list in C++.
Nothing unexpected, but I was hoping Bloomberg would focus more on thinking questions rather than syntax which comes from experience.
Given a set of intervals, find the maximum number of intervals that overlap at a single time point.
Asked about Databases, Primary keys etc. which I was not very conversant with
How to find the top ten scores for a game? How to shuffle a iPod playlist so you can still use next and back? What's the difference between C++ and Java for memory management?
How to find the total area of some overlapping cycles.
Second question was about using a hash table to store info about web history. Bloomberg seems to ask a lot about hash tables, probably due to their efficiency.
What was a difficult project that you made?
Viewing 4981 - 4990 interview questions