Bloomberg LP Interview Question for Financial Software Developers






Comment hidden because of low score. Click to expand.
2
of 2 vote

i think they use the observer pattern.

In this each user is a subject and also behave as a observer to all of his frnds .

- nittu August 21, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

use hash table to find changes, use observer pattern to inform changes to all user who is publishing the article

- Anonymous August 22, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

when each such user "update" is generated its given some unique id. this unique id will act as a link to retrieve "update" specific data like a video, user comments.
Thus if a "update" unique id is duplicated by multiple users (friends) then we can see it as "User1" and "user2" posted this.

I would consider it more like a mail box scenario(message queue) where each user has a list of update from his friends sorted(and merged) based on time.
Whenever a user is making a "update", its like he is posting a message to his friends.

- Hinax August 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

how about a priority queue or a splay tree?

- Anonymous November 19, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

possible but splay trees might slower performance when updates are frequent

- blueskin November 21, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

It would definitely be done by Observable and Observer classes available in Java.
These objects should be kept in session scope.

- Karthik December 14, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

are therr sampke questions for previsor online c++ tests

- rob January 11, 2011 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More