Mr. Beans visited a magic shop and bought some magical marbles of different colours along with other magical items. While returning home whenever he saw a coloured light, he took out marbles of similar colours and counted them. So he counted the pink coloured marbles and found that he has bought 25 of them. Then he counted 14 green marbles and then 21 yellow marbles. He later counted 30 purple coloured marbles with him. But when he reached a crossing, he looked at a red light and started counting red marbles and found that he had bought 23 Red marbles. As soon as he finished counting, it started raining heavily and by the time he reached home he was drenched. After reaching home he found that the red, green and yellow marbles had magically changed colours and became white, while other marbles were unchanged. It will take 1 day to regain its colours, but he needs to give atleast one pair of marbles to his wife now. So how many white marbles must be choose and give to his wife so as to ensure that there is atleast one pair of red, yellow and green marbles ?
The problem is solved assuming worst case situation(all consecutive marbels of same colour) and here the numbers must be initiated from majority,ie
23 for red
next 21 for yellow
remaining two for yellow
How to improve your Interview, Salary Negotiation, Communication & Presentation Skills.
Got a tip or Question?
Let us know