I have 100 bottles of wine. 1 is poisoned. I have 10 rats. My guests are coming in an hour but the poison takes 45 minutes to kick in and "kill" a rat. How do I test for and find the 1 bottle of poisoned wine?
Engineers Interview Questions
843,939 engineers interview questions shared by candidates
given an array of n unsorted integers and each number is at most k positions away from its final sorted position, give an efficient sorting algorithm.
Assuming you have a large cube shaped by small cubes together, their number is 1000 How many cubes will be visible?
1) How to reverse a string?
Find the second largest number in the array.
What will be the sizeof the following structure on a 32-bit machine: struct s { int i; char c; long d; void *p; int a[0]; };
Explain theory of elasticity and some questions related to it. Some formulaes such as bending moment equation and torsion equation.
Tell me why you want to work for Openreach
Given a stack containing values, implement min() operation to find minimum of all the values in O(1) time. Push() and Pop() should run in O(1) as well.
When you have multiple classes in C++ in a hierarchy, what was the way in which the ctors and dtors are called.
Viewing 1431 - 1440 interview questions