Development Engineer Interview Questions

37,118 development engineer interview questions shared by candidates

Write a function (in your preferred language C, C++, or Java) that will take the given string and return the reverse. (ie. input:"abc def ghi" output:"ihg fed cba") Optimize the above code (if possible). Now knowing that the original function you wrote in pt1 is being used by other programs and cannot be modified write another function that when called will utilize the function from pt1 to only reverse the words in the sentence. (ie. input:"abc def ghi" output:"ghi def abc") Test your code.
Nov 27, 2012

Write a function (in your preferred language C, C++, or Java) that will take the given string and return the reverse. (ie. input:"abc def ghi" output:"ihg fed cba") Optimize the above code (if possible). Now knowing that the original function you wrote in pt1 is being used by other programs and cannot be modified write another function that when called will utilize the function from pt1 to only reverse the words in the sentence. (ie. input:"abc def ghi" output:"ghi def abc") Test your code.

Standard coding and design questions. Some questions about my background. A tedious question was to convert a string representing a roman number to an integer. This question is not hard to solve, but tedious to code.
Jan 17, 2014

Standard coding and design questions. Some questions about my background. A tedious question was to convert a string representing a roman number to an integer. This question is not hard to solve, but tedious to code.

you have 9 marbles, all of them identical except one of them is slightly heavier than the rest. in order to determine which is the heaviest, you have a balancing scale, however you are only allowed to use it twice. how do you determine the heaviest marble?
avatar

Software Development Engineer

Interviewed at Microsoft

4
Nov 6, 2012

you have 9 marbles, all of them identical except one of them is slightly heavier than the rest. in order to determine which is the heaviest, you have a balancing scale, however you are only allowed to use it twice. how do you determine the heaviest marble?

Viewing 771 - 780 interview questions

Glassdoor has 37,118 interview questions and reports from Development engineer interviews. Prepare for your interview. Get hired. Love your job.