Reverse words in a String
Software Development Engineer In De Test Interview Questions
6,452 software development engineer in de test interview questions shared by candidates
Given a BST find the second largest element?
1. Implement stack using queue 2. Merge two arrays and sort them in order as specified at runtime. The two arrays may share common entries between them, but the resultant array must not have duplicates.
Design a cellphone for a blind person
Find out the number of connected cells in a 2D array
How many gas stations are there in the United States?
how to make it O(n)
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.
There was nothing difficult or unexpected about the interview.
Viewing 171 - 180 interview questions