Interview Question

Data Analyst Interview

-London Colney, England

BAE Systems Digital Intelligence

if there are 5 people in a room and each chooses a number from 1 to 10 at random what is the probability that two or more people have the same number

AnswerAdd Tags

Interview Answers

7 Answers

6

First work out the probability that none have the same number: In this case imagine each person picks their random number in turn. From person one through five, probabilities of picking unique numbers: For person one: 10/10 (since no other numbers have been picked yet) For person two: 9/10 (since one number has been picked by person one) Person three: 8/10 (Assume that persons one and two have picked unique numbers, since we are looking for the prob. that ALL have picked unique numbers) Person four: 7/10 Person 5: 6/10 Multiply together: get 30,240/100,000 = 30.24% Subtract from 100% to get 59.76% (required answer)

lordash on

4

Anon has the final correct answer and Lordash has the correct explanation. The problem is a simpler version of the birthday paradox, with alternate ways to solve the problem outlined on this page: http://en.wikipedia.org/wiki/Birthday_problem

footballman on

4

lordash is almost right, except that 100% - 30.24% = 69.76%

anon on

2

Interesting

Anonymous on

0

I am going for interview could you plz advice me how to prepare for data analyst interview and what skill test stand here is it Java/sql test online multiple type question or programming bit unsure plz help me.

sp on

0

1-P(all people chose different numbers)

kos on

1

possible cases 10^5 favorable cases: -- exactly 2 people choose the same number: (5 choose 2)*10* (9^3) -- exactly 3 people choose the same number 5 choose 3 * 10 * 9^2 --exaclty 4 people choose the same number 5 choose 4 * 10 * 9 --exactly 5 people choose the same number 5 choose 5 * 10 =10 add them and divide

Bubi on

Add Answers or Comments

To comment on this, Sign In or Sign Up.