Lead Software Engineer Interview Questions | Glassdoor

Lead Software Engineer Interview Questions

251

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;

mistakes made in the past

1 Answer

They asked me to do a technical assesment of my Java and Struts skills.

1 Answer

A technical programming question having to do with scaling a large search using a hashed array.

1 Answer

Tell me a time when a co worker did something wrong or perhaps you did not get along with them and how did you handle / resolve it?

1 Answer

Passengers are waiting to board a fully booked plane. They all have an assigned seat except for one person. They all board the plane in a random order. If their assigned seat is available, they take it. If not, they seat at random somewhere else. When it's her time to board, the one person without a number chooses a seat at random amongst those that are left. The question is: what are the odds that the last person will sit on her assigned seat?

1 Answer

Coding, designing test harness for enterprise scale systems, s/w design skills..

1 Answer

related to your technology stack

1 Answer

Whats the best way to securely store a password entered in a web form.

1 Answer

Name all the programming books you've read.

1 Answer
110 of 251 Interview Questions