Lottery Coupon Winners Calculation | Goldman Sachs Interview Question