Search
⌘K

Leetcode 1565. Unique Orders and Customers Per Month

Group rows by month (extracted from the order date) and compute, for each month, the number of distinct orders and distinct customers—returning the monthly aggregates ordered chronologically.


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.