Bloomberg LP Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
3
of 0 vote

A= A+B
B= A-B
A= A-B

- Anonymous February 23, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Overflow?

- Tim December 12, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

How do you know if a number is Odd or Even?
Ans: For odd numbers, the last bit in its binary represenattion is 1. For even numbers it is 0.

So if n&1 == 1, then the number is odd.

- Sadineni.Venkat February 18, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

for the last question, try trie.

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

Problem with the code:

Trying to return a pointer to 'buf', the scope of which is the gettime() method. The memory for buf[80] is deallocated by the time it is being used in Main().

- Mahesh February 11, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

what is the answer for this question anybody helps?

- ash April 16, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 0 vote

>> How can u swap 2 variables without using temp variable (XOR)
Ans:
A = A^B
B = A^ B
A = A^B

- Sadineni.Venkat February 18, 2009 | 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