Software Development Interview Questions

37,302 software development 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.

Code question: There is a frog. He hops once, but leaps twice. if you were given a number, say n = 3, then your code should print all the possible outcomes of leap and hops. Ex: n=3 will print hop, hop, hop hop, leap
avatar

Software Development Intern

Interviewed at Expedia Group

3.7
Apr 14, 2016

Code question: There is a frog. He hops once, but leaps twice. if you were given a number, say n = 3, then your code should print all the possible outcomes of leap and hops. Ex: n=3 will print hop, hop, hop hop, leap

Questions were not difficult but my English was a little bit poor. Also my solutions were the first solutions that came to my mind and I think they asked for a better algorithm for the Development Lead position. Questions were: You have 3 integer arrays, find the common items that exist in at least two of the arrays; Write a program to create a histogram of the top 5 most used words in a file.
avatar

Software Development Lead

Interviewed at Booking.com

4.1
Jul 28, 2014

Questions were not difficult but my English was a little bit poor. Also my solutions were the first solutions that came to my mind and I think they asked for a better algorithm for the Development Lead position. Questions were: You have 3 integer arrays, find the common items that exist in at least two of the arrays; Write a program to create a histogram of the top 5 most used words in a file.

Viewing 841 - 850 interview questions

Glassdoor has 37,302 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.