## Flipkart Interview Question for Software Engineer / Developers

Country: India
Interview Type: Phone Interview

Comment hidden because of low score. Click to expand.
11
of 13 vote

r1; r1; r48g50; y50b50;
P(red)=0.25+0.25+0.25*48/98=0.62

Comment hidden because of low score. Click to expand.
0

Comment hidden because of low score. Click to expand.
0

Can u please explain how u have come to this soln?
I mean the logic?

Comment hidden because of low score. Click to expand.
0

Lets say I make 2 draws one from the first and one form the second container, from then on the probability of losing is 0.12 which is very bad afterall..

Comment hidden because of low score. Click to expand.
0

Lets say I make 2 draws one from the first and one form the second container, from then on the probability of losing is 0.12 which is very bad afterall..

Comment hidden because of low score. Click to expand.
0

@ashol.koyi
it should be r, r, r, r47g50y50b50

sp Probability becomes: 0.25 + 0.25 + 0.25 + 0.25*(47/(197)) = 0.809

Comment hidden because of low score. Click to expand.
0

@vik, read the question carefully, jar can contain a max of 100 balls

Comment hidden because of low score. Click to expand.
-1
of 1 vote

I guess the correct answer is:

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

Does no of balls of each color is 50

Comment hidden because of low score. Click to expand.
0

Yes. 200 in total.

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

The arrangement should be R1, R1, R48 B50, G50 Y50
This way the probability is 0.25+0.25+0.25*(48/98) = 0.62244898

Comment hidden because of low score. Click to expand.
-1
of 3 vote

arrangement should be R1,R1,R24G50B25, R24Y50B25
probability >=0.74

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

dude wrong calculations !!

Comment hidden because of low score. Click to expand.

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.

### 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.