GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Infosys  >  Analytical

 Print  |  
Question:  Moving Colour Balls

Answer: 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.


August 08, 2008 03:45:05 #2
 vikasrulz   Member Since: August 2008    Total Comments: 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
     

 

Back To Question