Find max k elements among mostly sorted list.
MISSING VALUE Interview Questions
6,577,548 interview questions shared by candidates
Was asked how I would implement division without using division or mod operators. The answer should return in the form quotient r remainder.
What is the probability of breaking a stick into 3 pieces and forming a triangle?
Given 2 numbers x and y, check if x is an integer power of y. For instance, x = 8, y = 2 would return true and x = 10 and y = 2 would return false since the first one is an integer power but the second isn't.
How to reverse a number, e.g. 1234.
Suppose you have three random variables. The correlation between A and B is 0.6, the correlation between A and C is 0.8. What is the range of correlation between B and C?
Given heads of two linked lists. Find if the two linked lists intersect. Solution should not use extra memory.
Tell us about a time you handled a new experience/situation?
You have three barrels. One barrel is filled with apples, one with oranges, and one with both apples and oranges. Each barrel is mislabeled. You can take out as many fruit as you like form each barrel and look at it. What is the minimum number of fruits you need to remove to correctly label the barrels?
Print a singly-linked list backwards, in constant space and linear time.
Viewing 1391 - 1400 interview questions