Lead Software Engineer Interview Questions | Glassdoor

Lead Software Engineer Interview Questions

311

Lead software engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

2. Swap the two values (int A=5 and int B=3), w/o using a 3rd attribute(so you cant use the 3rd attribute to store the value as a temporary storage).

3 Answers

first you do A= A*B, next you divide B=A/B and finally A= A/B.

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

Both previous answers are theoretically correct, yet buggy. 'A' could potentially overflow due to (A+B) or (A*B). Therefore, the best method is to use the 'xor' operator. A ^= B; B ^= A; A ^= B;

What is new in Java 9?

2 Answers

Tell me about Java 8 features. After I mentioned in lambda expressions etc, he asked me, what is new with interfaces in Java-8.

3 Answers

One or more comments have been removed.
Please see our Community Guidelines or Terms of Service for more information.

Did you work on any caching technologies

2 Answers

1) Given a point and an collection of arbitrary 2D points, find the point closest to the the given point. 2) Given a collection of arbitrary 2D points, find the point closest to the median.

2 Answers

Design and coding questions.

1 Answer

How would you store a user's password?

1 Answer

mistakes made in the past

1 Answer

Give an algorithm for optimal mapping of CSA tree (adding k 1-bit numbers) if the arrival times of the output pins of the Full Adder were considerably different.

1 Answer

Design lyft referral system

1 Answer
110 of 311 Interview Questions