Software Development Engineer Interview Questions

32,869 software development engineer interview questions shared by candidates

Given an array of positive integers, sort the array in a manner such that when all the elements of new array are concatenated in a string, the number formed is maximum. e.g. input: [12,9,32] output: [9,32,12]
avatar

Software Development Engineer Internship1

Interviewed at Microsoft

4
Oct 21, 2016

Given an array of positive integers, sort the array in a manner such that when all the elements of new array are concatenated in a string, the number formed is maximum. e.g. input: [12,9,32] output: [9,32,12]

Given a string S and two indexes i & j, modify the string in a pattern such that: characters from [0 to i] index are now at back of the string. characters from [j till end of string] are in front of string. e.g. S = “abcdef” and i=1, j=3. Output should be: “defcab” Constraint: Constant Space.
avatar

Software Development Engineer Internship1

Interviewed at Microsoft

4
Oct 21, 2016

Given a string S and two indexes i & j, modify the string in a pattern such that: characters from [0 to i] index are now at back of the string. characters from [j till end of string] are in front of string. e.g. S = “abcdef” and i=1, j=3. Output should be: “defcab” Constraint: Constant Space.

Given a list of n unsorted key-value tuples which are too large to fit in memory, return the k tuples with the greatest value where n is several orders of magnitude greater than k. This list may be dispersed across multiple machines.
avatar

Software Development Engineer

Interviewed at Microsoft

4
Jan 13, 2017

Given a list of n unsorted key-value tuples which are too large to fit in memory, return the k tuples with the greatest value where n is several orders of magnitude greater than k. This list may be dispersed across multiple machines.

Given a list of movement commands (up, down, left, right, undo previous action), write a function that returns the final (x,y) coordinate. Followup: how would you handle other kinds of commands and undoing them? What kind of design pattern is this?
avatar

Software Development Engineer

Interviewed at Microsoft

4
Jan 13, 2017

Given a list of movement commands (up, down, left, right, undo previous action), write a function that returns the final (x,y) coordinate. Followup: how would you handle other kinds of commands and undoing them? What kind of design pattern is this?

Viewing 3021 - 3030 interview questions

Glassdoor has 32,869 interview questions and reports from Software development engineer interviews. Prepare for your interview. Get hired. Love your job.