Available question text
Compute the maximum order quantity per entity (e.g., per customer or product) using grouping, then return those entities whose maximum quantity is greater than the average of all those maximums. The challenge is to perform aggregation (MAX and AVG) and filter groups based on a comparison of aggregated values.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1867. Orders With Maximum Quantity Above Average
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source