Bloomberg L.P.
3.2 of 5 1,030 reviews
www.bloomberg.com New York, NY 5000+ Employees

Bloomberg L.P. Financial Software Developer Interview Question

I interviewed in New York, NY and was asked:
"How to reverse a string by word like "I love California" to "California love I""
Tags: technical, algorithm
Add Tags [?]
Answer Flag Question

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

Answers & Comments

0
of 0
votes
If they are looking for an answer using a data structure, use a stack. Assuming it is a high-level language question:
- Separate words by delimiter (be sure to ask what delimiter to use first! Don't assume)
- Push in order onto a stack
- Pop off the stack into a string buffer, or just print
- Mikhail on Oct 9, 2012 Flag Response

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


Bloomberg L.P. – Why Work for Us?

Bloomberg’s global mission is to help individuals, enterprises and governments make smarter, faster, more profitable decisions — first. In order to get there, we need constant ideas, energy, innovation— which is where… Full Overview

Provided by employer [?]

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

Glassdoor is your free inside look at Bloomberg L.P. interview questions and advice. All interview reviews posted anonymously by Bloomberg L.P. employees and interview candidates.