25 racehorses, no stopwatch. 5 tracks. Figure out the top three fastest horses in the fewest number of races.
Summer Internship Interview Questions
61,148 summer internship interview questions shared by candidates
25 hourses. Race them in a group of 5. Find the minimum number of race you need to conduct to find the top 3 hourses.
• Is 1027 a prime number? • How would you write an algorithm that identifies prime numbers? • 2 blue and 2 red balls, in a box, no replacing. Guess the color of the ball, you receive a dollar if you are correct. What is the dollar amount you would pay to play this game?
Suppose that you have a fair coin. You start with $0. You win 1$ each time you get a head and loose $1 each time you get tails. Calculate the probability of getting $2 without getting below $0 at any time.
Brain Teaser: A snail goes up 3 feet during the day and falls 1 foot at night. How long does it take him to go up 10 feet?
Video interview: 1) why this division 2) tell me about a recent news 3) effect of the fed hike on the bond market 4) additional comments
How many digits are there in 2^50?
To write down code for x^n in O(logn) time.
There are 9 identical looking balls, but one ball is slightly heavier than the others. If you have one scale, what is the least number of measurements one would need to identify for sure, which ball is the heavier one?
I have a 12 sided die and you have a 20 sided die. We each get two rolls and we can each chose to stop rolling on either one of the rolls, taking the number on that roll. Whoever has the higher number wins, with the tie going to the person with the 12 sided die. What is the probability that the person with the 20 sided die wins this game?
Viewing 11 - 20 interview questions