2. You have an array (size is not known) and whose elements are having the values from 0-> 99. Find out the three largest elements in that array and return those.
Senior Test Lead Interview Questions
35,061 senior test lead interview questions shared by candidates
Implement a Queue using 2 Stacks
You are given a beaker and a single bacterium, which will reproduce into two bacteria in exactly 1 minute, at 12:00 noon. It is full at 1:00 pm. When was it half full?
Write a function to find the maximum sum of sub array where the array can have negative and positive numbers.
In a BST write a program to find 2 nodes x and y such that X+y=k
find duplicated item from an array, output the duplicated item with their times
Cut a cake where only 3 cuts are allowed but we have to get 6 pieces
There are 3 baskets. one of them have apples, one has oranges only and the other has mixture of apples and oranges. The labels on their baskets always lie. (i.e. if the label says oranges, you are sure that it doesn't have oranges only,it could be a mixture) The task is to pick one basket and pick only one fruit from it and then correctly label all the three baskets.
Given a sorted array of integers, write a function to remove any duplicates. Give algorithm, then code and finally list how you would test your program.
Find the max and second largest max in an array of integers. What is run time? How to test function?
Viewing 51 - 60 interview questions