Search
⌘K

Leetcode 1484. Group Sold Products By The Date

For each sell_date, deduplicate the products sold that day, count the distinct products, and return a lexicographically sorted comma-separated list of those product names. Order the result by sell_date and handle possible duplicate rows in the input.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.