Bloomberg LP Interview Question for Financial Software Developers






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

two prefix tree

- Zhengyang.Feng2011 March 14, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

Quadtree

- DavidHo July 06, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

trie structure can be used to find the phone number when name is given...and viceversa

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

you can't do this using a single trie structure,u need to use 2 trie structures

- murali August 23, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

It can be done using STL Map data structure

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

You need two maps which is not space efficient~

- sniperswang September 27, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 2 vote

You could use hash table to link name and phone number uniquely. The search will be done in o(1) time.

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

can u explain how we can link name and phone no. uniquely

- gulusworld1989 October 15, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

STL multiset or Boost Multi-index Containers Library

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

I can think of only one solution Hashmap or Hashtable with key as phonenumber and value as name.

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

But you need to store redundant data(Names) in the hashmap.

- nihanth March 05, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Have a pre-processor which converts all Names to Numbers. Then store it in TreeMap.

- PK July 31, 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