Developer Interview Questions

269,106 developer interview questions shared by candidates

The interview lasted for one hour. There were two interviewer. They first asked me for 30 minutes about what projects I have worked on and what my research is about. For the rest of 30 minutes, two technical questions were asked. 1. Given a number of double type "a" and an integer "b", write a function "pow(a,b)" that returns the value "a" raised to the power of "b". They will ask you to improve the efficiency if your code runs slower than O(b log b). 2. Implement an interface in which the first method "store(int val)" stores "val" in the data structure you chose to use and the other method "twosum(int value)" returns true if and only if two numbers stored in the data structure add up to "value". They will ask you to improve the efficiency if your code runs slower than O(n), where "n" is the number of numbers stored in the data structure.
avatar

Applications Developer

Interviewed at LinkedIn

3.8
Jan 23, 2013

The interview lasted for one hour. There were two interviewer. They first asked me for 30 minutes about what projects I have worked on and what my research is about. For the rest of 30 minutes, two technical questions were asked. 1. Given a number of double type "a" and an integer "b", write a function "pow(a,b)" that returns the value "a" raised to the power of "b". They will ask you to improve the efficiency if your code runs slower than O(b log b). 2. Implement an interface in which the first method "store(int val)" stores "val" in the data structure you chose to use and the other method "twosum(int value)" returns true if and only if two numbers stored in the data structure add up to "value". They will ask you to improve the efficiency if your code runs slower than O(n), where "n" is the number of numbers stored in the data structure.

Question was not difficult. In fact they asked the same queston from almost every interviewee. Qeustion: Given a number N and an array Arr[], search find two numbers which sum up to number N. When you will suggest binary search for this problem. They will ask about the complexity difference between two nested loop and binary search solution. After discussion of algorithm/solution, they will ask you to write down the code on paper. Both interviewers look like of Chinese origin. Only manager got involved in discussion and asked questions. The other one stayed silent. He sounds shy and asocial but was not pyschologist for sure. Maybe he was hired based on his extra-ordinary technical skills or strong internal (possibly Chinese) connection. The whole interviewed lasted for an hour.
avatar

Software Developer

Interviewed at IBM

3.9
Sep 25, 2012

Question was not difficult. In fact they asked the same queston from almost every interviewee. Qeustion: Given a number N and an array Arr[], search find two numbers which sum up to number N. When you will suggest binary search for this problem. They will ask about the complexity difference between two nested loop and binary search solution. After discussion of algorithm/solution, they will ask you to write down the code on paper. Both interviewers look like of Chinese origin. Only manager got involved in discussion and asked questions. The other one stayed silent. He sounds shy and asocial but was not pyschologist for sure. Maybe he was hired based on his extra-ordinary technical skills or strong internal (possibly Chinese) connection. The whole interviewed lasted for an hour.

Viewing 671 - 680 interview questions

Glassdoor has 269,106 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.