Groupon Interview Question

Leetcode easy array 3 Simple SQL query