Search
⌘K

Leetcode 1511. Customer Order Frequency

Given a list/table of customer orders, compute how many orders each customer placed and return the required output (e.g., customers with frequency above a threshold or a frequency-sorted list). This is an aggregation/group-by problem best solved by grouping and counting (hash map or SQL GROUP BY), with optional filtering or sorting of results.


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.