# Coupon Collector's Problem # Upper Bound: O(n*ln n) def collector(): var coupons, draw coupons = 0 draw = 0 while 0 <= coupons and coupons < 50: tick 1 draw = unif(0,50) if draw > coupons: coupons = coupons + 1