Write a program to reverse the words in a sentence. "Sky is blue" would be "blue is sky". Write test cases for this program
Softwareentwickler Im Test Interview Questions
12,329 softwareentwickler im test interview questions shared by candidates
Extremely technical interview.
Why do you want to work here?
How can you copy files from one directory to another using Python?
Most questions are around data structures. Also expect word puzzles, like write an algorithm to spell out actual numbers. E.g. 121 -> "One Hundred and Twenty One".
Given a list of unordered numbers, what would be the best algorithm to find the n largest numbers.
Given an array of integers and k, print all the pairs of numbers (a,b), both of them inside the array, such that a+b=k
Linked list questions
Remove a node from Linked list when address of same node is given
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.
Viewing 221 - 230 interview questions