Summer Internship Interview Questions | Glassdoor

Summer Internship Interview Questions


Summer internship interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

Flip a coin until either HHT or HTT appears. Is one more likely to appear first? If so, which one and with what probability?

13 Answers

Let A be the event that HTT comes before HHT. P{A} = P{A|H}P{H} + P{A|T}P{T} = .5P{A|H} + .5P{A|T} P{A|T} = P{A} therefore, P{A|H} = P{A|T} P{A|H} = P{A|HH}P{H} + P{A|HT}P{T} = (0)(.5) + P{A|HT}(.5) Therefore, 2P{A|H} = P{A|HT} P{A|HT} = P{A|HTT}P{T} + P{A|HTH}P{H} = (1)(.5) + P{A|H}(.5) 2P{A|H} = .5 + P{A|H}(.5) P{A|H} = 1/3 and P{A|H} = P{A}, therefore, P{A} = 1/3 So, HHT is more likely to appear first and it appears first 2/3 of the time.

P{A|H} = P{A|HH}P{H} + P{A|HT}P{T} = (0)(.5) + P{A|HT}(.5) Need help - - why is P{A|HH} = 0 ?

P(A|HH) = 0 because after a sequence of consecutive heads, you can no longer achieve HTT. The moment you get a tail, you will have the sequence HHT. This the reason HHT is more likely to occur first than HTT.

How many digits are there in 2^50?

5 Answers

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.

4 Answers

Given an array of positive and negative numbers, give an algorithm that would find the sequence of numbers that give the largest sum. The numbers have to be in sequential order.

2 Answers

What is the difference between a Class in C and an Object in C++?

2 Answers

What is the difference between a signed and unsigned integer variable type?

2 Answers

A survey is given to all passengers on a number of different planes. The survey asks each person how full their plane was. The people answer honestly. If 50% of people claim that their plane was 80% full, while the other 50% claim that their plane was 20% full, how full was the average plane?

2 Answers

The Survey was really easy...

2 Answers

The easy questions were everything from, "tell me about a time you had to be a leader" to harder ones like a scenario where "you have a client that wants to invest $10 million dollars how do you invest it for him?" prepare for follow on questions to this question which is a good sign.

1 Answer

Why did I want this job

1 Answer
110 of 235 Interview Questions