Yelp Interview Question

Pick a random number from weighted list based on weight