Optimal strategy to guess cake flavors – math.stackexchange.com

macaque
From a Jane Street Capital interview question: There are 10 cakes with two flavors, A and B. You know that the distribution of flavors is either 9 A and 1 B or 9 B and 1 A with equal probability. To ...