There is no guaranteed way to get the biggest diamond. All we can do is to miximize the probability of getting it. The overall strategy is to stopped and get the diamond which is the biggest so far. For example, we stopped at the nth floor and observed that the diamond on that floor was the biggest so far (from floor 1 to floor n), then we simply took it and left the building. A stochastic dynamic programming formulation will help us to determine the optimal strategy (the best stopping point), which in this case, is to skip (but check their sizes) the first 37% percent (or first 4 floors), then pick the one which is the biggest among the all the checked diamonds. BTW, you can apply this method in dating girls/boys :-). www.ddhw.com
|