What is the time complexity to find the median in an array?
Intern Interview Questions
248,705 intern interview questions shared by candidates
What is the chance that at least two people were born on the same day of the week if there are 3 people in the room?
Why did you choose to apply for the role?
Say DAU is increasing but MAU are decreasing (over 3 months period), how would you approach this problem and what data sets would you work with?
I don't remember the hardest one, so here is one of the other questions from the perspective of the interviewer. Here is a coin game as follows. We each have three fair coins, and we flip all of them at once. After we flip them, we look at the outcomes. If we have the same number of heads out of our own coins I pay you $1 and if we have a different number you pay me $2. Do you want to play this game?
You have 4 coins. You throw them in the air. For every H that lends, you get 1 dollar. How much would you pay to play this game?
How heavy is Mount Everest?
We have a tricycle and we are going to travel on it for a thousand miles. We also have two spare tires with us. If you want each of them to be worn the same by the end of the journey, what is minimum number of stops you have to make in order to achieve this?
Output a single linked list in reverse, in linear time and constant space, and recursively
Given n+1 buckets with n of them with ball inside and move(a,b) function, that moves ball from bucket a to bucket b. Each ball has a different number from [1,n] on it. Move balls, so each bucket has a ball with matching number in it.
Viewing 141 - 150 interview questions