Software Developers Interview Questions

96,364 software developers interview questions shared by candidates

Assume you need to optimize a program which has about several Billion lines of code. You can get access to the source code and make modification. So what will to do to make this program run faster? The key thing is it has several Billion lines of code, so it is impossible to analyse the code deeply.
avatar

Software Developer

Interviewed at Garmin

3.7
Jul 25, 2013

Assume you need to optimize a program which has about several Billion lines of code. You can get access to the source code and make modification. So what will to do to make this program run faster? The key thing is it has several Billion lines of code, so it is impossible to analyse the code deeply.

You have 50 balls, half white and half black. You have to put all the balls in two boxes and then I choose one ball from any of the boxes without seeing. If I choose a black ball I win, if I choose a white one you win. How would you distribute the balls in the boxes in such way that you have more odds to win.
avatar

Software Developer

Interviewed at Amazon

3.5
Jul 14, 2017

You have 50 balls, half white and half black. You have to put all the balls in two boxes and then I choose one ball from any of the boxes without seeing. If I choose a black ball I win, if I choose a white one you win. How would you distribute the balls in the boxes in such way that you have more odds to win.

Viewing 711 - 720 interview questions

Glassdoor has 96,364 interview questions and reports from Software developers interviews. Prepare for your interview. Get hired. Love your job.