How long would a tunnel from NYC to San Fran. would be if you dig it through the earth as short as possible? If you traveled directly on the surface? What is you confidence bound (length +/-)? You are waiting for a bus which it takes a round trip of 10 minutes to complete (starts again when it completes one tour). What is your expected waiting time if you arrive at a random time? (uniform from 0 to 10, so 5min). Then, an extension: There is an ice cream shop somewhere on the bus route. The bus driver flips a fair coin every time it passes by it and f "H", spends 10 minutes to eat ice cream and then continue the tour. What is your expected waiting time now? What is the coin is biased?
Quantitative Developer Interview Questions
10,153 quantitative developer interview questions shared by candidates
Consider an infinite set of pairwise independent random variables which are uniformly distributed between 0 and 1. What's the expected number that you need to add to get a number that exceeds 1.
6 people sitting around in a circle, probability for them to sit in increasing age (either clockwise or counter-clockwise)?
If you toss an unbiased coin, what is the expected number of tosses you will make before you toss three tails?
Suppose you want to gamble in Vegas. In a game, you win $x if the number is prime and lose $x/2 if composite. The number is uniformly randomly generated by a machine between 1 and 10 inclusive. Will you play this game? Follow up: What if you can play n number of times and then stop. Will you play it?
2. In an urn you have red and blue balls (same number of balls in each of the two colors). You extract 3 balls what is the probability that the number of balls you have extracted is odd. Now you extract 10 balls, what is the probability that the number of balls you have extracted is odd?
You play rock, paper, scissors with an opponent, but your opponent cannot play rock. What should you play to maximize your expected profit if every time you win you win $1, lose you lose $1, draw you win $0?
Find the smallest positive integer, x, such that the product of all the digits of x is 10,000
Tell us about a time when you get angry
Minimize the number of comparisons for finding minimum and maximum of a given set of numbers.
Viewing 61 - 70 interview questions