Bloomberg L.P.
Work in HR? Unlock Free Profile

Bloomberg L.P. Financial Software Developer Intern Interview Question

I interviewed in New York, NY and was asked:
"If I give you a new book, and ask you to create the index which is found at the end of the book, how will you do it."
Add Tags [?]

Part of a Financial Software Developer Intern Interview Review - one of 1,731 Bloomberg L.P. Interview Reviews

Answers & Comments

of 0
I said for constant addition time of words (and page numbers) in the data structure, we can use Hashmap or TRIE. But since output has to be in alphabetic order, we will use a Trie DS, where at the end of each word, we simple store a list of page numbers.
- Interview Candidate on Apr 14, 2013

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.