Search
⌘K

Leetcode 586. Customer Placing the Largest Number of Orders

Aggregate orders by customer_number to count each customer's orders and return the customer(s) with the maximum count; the problem guarantees a unique top customer, while the follow-up asks to handle ties by returning all customers sharing the highest count.


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.