Interview Question


Country: India
Interview Type: Written Test




Comment hidden because of low score. Click to expand.
12
of 12 vote

P{not getting post 1} = 2 / 3
Pr{not getting post 2} = 3 / 4
Pr{not getting post 3} = 1 / 2
Pr{not getting any posts} = 2 / 3 * 3 / 4 * 1 / 2 = 1 / 4
Pr{Getting at least one post} = 1 - Pr{not getting any posts} = 3 / 4

- Ehsan August 24, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Good one, an alternative:

P(AUBUC) = P(A) + P(B) + P(C) - P(AnB) - P(BnC) - P(CnA) + P(AnBnC).

Since A, B, C are independent events, the above becomes

P(AUBUC) = P(A) + P(B) + P(C) - P(A)*P(B) - P(B)*P(C) - P(C)*P(A) + P(A)*P(B)*P(C), which is

1/3 + 1/4 + 1/2 - 1/12 - 1/8 - 1/6 + 1/24 = 3/4

- Murali Mohan August 26, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

11/24

- prashantdubey194 August 24, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1/4
3/24+2/24+6/24+1/24+2/24+3/24+1/24 = 18/24

- Deniska August 24, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Sorry, 3/4

- Deniska August 24, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

The odds will change if other candidates are also interviewing for multiple posts.

- schroeder.carl.j August 25, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This question is a joke.
You cannot answer it without assuming very unrealistic things (which are not mentioned).
1) Independence between interviews of any of the people
2) Uniform distribution (all candidates look the same, act the same, have the same skills, and interviewer also felt the same and asked the same questions ... everything is the same for all interviews)

Now calculate the probability that he goes home unemployed:
2*3*1
-------- = 1/4
3*4*2

Use product rule on numerator and denominator (in numerator, leave him out of every possible choice, so the numbers are 1 less).

So his probability for getting a job is 3/4

{Note, probability distribution are not required as this is a uniform distribution... simply counting is enough}

- bigphatkdawg September 19, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

P(at least one offer) = 1 - p(no offer) = 1 - p(no offer for post 1)*p(no offer for post 2)*p(no offer for post 3) by assuming 3 interviews are independent and each person has equal opportunity for each interview.

p = 1 - 2/3*3/4*1/2 = 3/4

- andycuisong September 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
-2
of 2 vote

Stupid question.

- Anonymous August 25, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

+100.

- Anonymous August 26, 2013 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More