Software Developers Interview Questions

96,317 software developers interview questions shared by candidates

Reverse a string of words, such that the last word would come to be the first, the previous to last the second, etc. all the way till the first, which becomes the last. for example "abc def ghi" should become "ghi def abc"
avatar

C++ Software Developer

Interviewed at Rafael

3.5
Apr 29, 2021

Reverse a string of words, such that the last word would come to be the first, the previous to last the second, etc. all the way till the first, which becomes the last. for example "abc def ghi" should become "ghi def abc"

1.given -first name & last name you should calculate the occurrence of char in first name with the last name & prefix the number of occurrence in first name if you find the char in first-name first time else just print the char. 2.given two string line you have to check how many consecutive word are present in first line which is directly match with second string sub-string & print as per following rule a->if matching word is less than 2 you should return-0 as output b->else you have to print the first consecutive substring of first string which is match with second string. eg- abc def h i j k def h j k output should be- def h //not def h j k 3->(last round question)- int count (string str, char ch,int i,int j) is function which should return total number of occurrence of ch in substring of str where i & j are start & end index & if anything exception occurred return -1;
avatar

Software Developer

Interviewed at Maventic

4.1
Aug 18, 2015

1.given -first name & last name you should calculate the occurrence of char in first name with the last name & prefix the number of occurrence in first name if you find the char in first-name first time else just print the char. 2.given two string line you have to check how many consecutive word are present in first line which is directly match with second string sub-string & print as per following rule a->if matching word is less than 2 you should return-0 as output b->else you have to print the first consecutive substring of first string which is match with second string. eg- abc def h i j k def h j k output should be- def h //not def h j k 3->(last round question)- int count (string str, char ch,int i,int j) is function which should return total number of occurrence of ch in substring of str where i & j are start & end index & if anything exception occurred return -1;

Here i'll tell more about coding round at office. They given two coding out of which you need to solve one to qualify and proceed for the technical round. Q1: find the number elements in between l,r (inclusive) which can make a form of 3 power x *5 power of y. Q2. Some two dimensional matrix problem.
avatar

Software Developer

Interviewed at MountBlue Technologies

3.8
Jun 29, 2019

Here i'll tell more about coding round at office. They given two coding out of which you need to solve one to qualify and proceed for the technical round. Q1: find the number elements in between l,r (inclusive) which can make a form of 3 power x *5 power of y. Q2. Some two dimensional matrix problem.

Viewing 2431 - 2440 interview questions

Glassdoor has 96,317 interview questions and reports from Software developers interviews. Prepare for your interview. Get hired. Love your job.