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.
Tester Software Junior Interview Questions
43,563 tester software junior interview questions shared by candidates
There was nothing difficult or unexpected about the interview.
How many gas stations are there in the United States?
how to make it O(n)
The differences between recursive and iterative implementations?
Reverse words in a String
Design a cellphone for a blind person
defect logging details
sql queries mainly, and one vague question about round robin?
Describe yourself
Viewing 501 - 510 interview questions
See Interview Questions for Similar Jobs
Ingegnere Informatico JuniorIngegnere Informatico CIngegnere Informatico Junior Di JavaC ProgrammatoreProgrammatore PythonIngegnere Informatico Senior CIngegnere Software AndroidSviluppatore Android JuniorIngegnere Informatico C DeveloperIngegnere Full StackIngegnere Del Software JavaAssistente Tecnico Del SoftwareSviluppatore Backend JavaSviluppatore Di Software CIngegnere Informatico Di IosSviluppatore Di Software JavaIngegnere Del Software InternoIngegnere Del Software Di Simulazione