Search
⌘K
Get Premium
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.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.