Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2051. The Category of Each Member in the Store
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.
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.