Available question text
Given members and their purchase records (and possibly a category precedence or timestamp), determine each member's store category by aggregating their transactions and applying selection/tie-breaking rules (e.g., most frequent, highest-precedence, or most recent category). The task focuses on joins, grouping/aggregation and careful tie-break logic to produce one category per member.
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 2051. The Category of Each Member in the Store
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source