Fundamentals/Five Star Seller
← PrevNext →
Given an array of [fiveStar, totalReviews] for products and a threshold rating percent (e.g. 77 for 77%), return the minimum number of additional five-star reviews needed (added to the most beneficial product each time) so the average rating reaches the threshold.