# There are 4 balls and 4 boxes of colours yellow, pink, red and green. Red ball is in a box whose colour is same as that of the ball in a yellow box. Red box has green ball. In which box you find the yellow ball?

Pink

This question is related to TCS Interview

• May 20th, 2006

ans is green...

yellow box can have either of pink/yellow balls.

if we put a yellow ball in "yellow" box then it wud imply that "yellow" is also the colour of the box which has the red ball(becoz acordin 2 d question,d box of the red ball n the ball in the yellow box have same colour)

thus this possibility is ruled out...

therefore the ball in yellow box must be pink,hence the colour of box containin red ball is also pink....

=>the box colour left out is "green",,,which is alloted to the only box left,,,the one which has yellow ball..

#### pawan deep singh

• Aug 30th, 2005

in the yellow box either pink or green ball can exist becos red bal s to be placed sumwhere else and yellow box cant have yellow ball.now from the qn red box contains green ball thus yellow box will contain pink and thus red ball will be placed in the pink box leaving behind yellow ball in the green box

#### devi

• Sep 23rd, 2005

ans: green box

• Oct 4th, 2005

#### MAHAVEER PATIL

• Feb 3rd, 2006

green box

#### janki

• Feb 11th, 2006

ans is pink

#### RAHUL SINGH

• May 20th, 2006

ans is green...

yellow box can have either of pink/yellow balls.

if we put a yellow ball in "yellow" box then it wud imply that "yellow" is also the colour of the box which has the red ball(becoz acordin 2 d question,d box of the red ball n the ball in the yellow box have same colour)

thus this possibility is ruled out...

therefore the ball in yellow box must be pink,hence the colour of box containin red ball is also pink....

=>the box colour left out is "green",,,which is alloted to the only box left,,,the one which has yellow ball..

#### mushez

• Apr 22nd, 2007

ans ia green ...
ball  box    red ---> X
X -----> yel
green-->  red
this s what is given
X in ball column has two chances....pink and yellow
X in box column has two chances....pink and green
so.... the one in common is pink...!
so.. X is pink..
if x is pink.....then the ans is the remaining one box which is green!!

#### priyanka

• Apr 30th, 2007

in green box
as red box contains green ball
so now in yellow box v cud ve either pink or yellow ball
now if yellow ball is in yellow box den as per d que dis possibility is ruled out
so yellow  box contains pink ball n pink contains red n so finally
yellow ball is in green box

#### bhavya shah

• Jun 26th, 2007

Ans is PINK

Yellow --- > Pink
Pink ------->Red
Red ------->Green
Green -----> Yellow

#### divya

• Jul 18th, 2007

Ans : Green Box

• Jul 1st, 2008

ans:green box

#### johnumman Profile Answers by johnumman Questions by johnumman

• Nov 10th, 2010

Ans: green box

green ball in red
red ball in pink
pink ball in yellow
yellow ball in green.

#### prititripathi Profile Answers by prititripathi

• Nov 13th, 2010

ans is yellow ball in green box

#### hp404 Profile Answers by hp404

• Nov 2nd, 2014

green

#### patilsd

• Nov 30th, 2014

Pink

#### Rajdeep Nair

• Mar 31st, 2015

4 boxes, red box has green ball, and red ball is the box that is the same as the ball in the yellow box, since the green ball is in the red box it rules out the possibility of it being green, this implies that it is either the red ball is either in the pink or yellow box. If the yellow box has yellow ball, the red ball cannot be in the pink box since it contradicts the condition hence the red ball is in the pink box and the pink ball in the yellow box. Now the only box that is left is the green hence, the red ball is in the green box.

Thus: Red ball->Pink box, Pink ball-> Yellow box, Green ball->Red Box, Yellow ball->Green box

#### aonawunmi Profile Answers by aonawunmi

• Apr 8th, 2015

• Red box has a Green ball; therefore yellow box can only have either Yellow, Pink or Red ball
• If the Red ball is in a box with a color same as the ball in the yellow box, it means that the Red Ball is NOT in the Yellow Box, RIGHT?
• We also then know that the Yellow Ball is not in the Yellow Box because the color of the ball in the Yellow Box is the same as the color of the Box that contains the Red Ball.
• So if we eliminate Yellow and Red Balls from the Yellow box, it means that the Yellow Box contains a Pink Ball.
• It therefore means that the Red Ball is in a Pink Box, leaving the Yellow Ball in a Green Box

• Apr 29th, 2015

Green

#### sanjay

• Mar 21st, 2016

Green Box