Developer Interview Questions

269,206 developer interview questions shared by candidates

Favorite project (worked on a team, and was interesting to me) technical questions: 1- have sorted array with empty places at end, want to add element, what to use? 2- have sorted array with empty places at end, want to add another sorted array to it, write the code in C++.
avatar

Software Developer

Interviewed at Microsoft

4
Nov 9, 2017

Favorite project (worked on a team, and was interesting to me) technical questions: 1- have sorted array with empty places at end, want to add element, what to use? 2- have sorted array with empty places at end, want to add another sorted array to it, write the code in C++.

Identify whether there exists a pair of numbers in an array such that their sum is equal to N Input: The first line contains one integer N, which is the sum we are trying to find; The second line contains one integer M, which is length of the array; This is followeb by M lines each containing one element of the array; Output: Output 1 if there exists a pair of numbers in the array such that their sum equals N. If such a pair does not exist, output 0. Note: The array must be sorted.
avatar

Software Developer

Interviewed at Booking.com

4
Jul 26, 2016

Identify whether there exists a pair of numbers in an array such that their sum is equal to N Input: The first line contains one integer N, which is the sum we are trying to find; The second line contains one integer M, which is length of the array; This is followeb by M lines each containing one element of the array; Output: Output 1 if there exists a pair of numbers in the array such that their sum equals N. If such a pair does not exist, output 0. Note: The array must be sorted.

Viewing 1331 - 1340 interview questions

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