Return the three highest-revenue products in each category. Break ties on product_id ascending.
Community-reported interview topic. Not an official company question and no affiliation is implied.
Run against the public tests, or submit to score against all of them.