Blog

An amazon interview question (not completely solved)

2010-02-06 17:49:21

Taken from this site:

Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that?

read on