GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Infosys  >  Analytical
Go To First  |  Previous Question  |  Next Question 
 Analytical  |  Question 134 of 135    Print  
Moving Colour Balls
You have a basket of 1000 balls with 3 different colors with equal amount (assuming they will in equal amount). In how many moves you will get the balls of all colors like one red one green one blue, that it will sure you have all colors balls, then in how many attempts you will find that triplet.



  
Total Answers and Comments: 3 Last Update: March 16, 2009     Asked by: AsifIqbal 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: mohanakrishnansv1987
 
the answer for first questio is 668 and for the second one is 670

Above answer was rated as good by the following members:
ashu_1988
June 09, 2008 22:47:39   #1  
mohanakrishnansv1987 Member Since: June 2008   Contribution: 1    

RE: Moving Colour Balls
the answer for first questio is 668 and for the second one is 670
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 2Overall Rating: -1    
August 20, 2008 03:45:05   #2  
vikasrulz Member Since: August 2008   Contribution: 2    

RE: Moving Colour Balls
Assuming tat all balls are equal in number we'll get the first triplet combination after (2000/3)+1 th trail
 
Is this answer useful? Yes | No
March 14, 2009 10:09:13   #3  
azhar.mehmud Member Since: March 2009   Contribution: 2    

RE: Moving Colour Balls
You first pull out the ball let it be Red
Now there may be a chance that balls you are pulling out are all same red colours this will take 333 moves than you will get next colour let it be green now the same can happen with the green balls so it will take at max more 333 moves to get to the next colour so you will have a total of 2*333 moves in worst scenario.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape