Given a BST find the second largest element?
Associate Test Engineer Interview Questions
43,557 associate test engineer interview questions shared by candidates
you have 2 cans of 3 n 5litres. How wil u measure 4litres exactly by using these two cans only.you can take the cans either to be full or empty as per ur convinience..
Write a program to find out the median of two sorted array.
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.
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.
How many gas stations are there in the United States?
how to make it O(n)
The differences between recursive and iterative implementations?
Viewing 501 - 510 interview questions