Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1398. Customers Who Bought Products A and B but Not C
Given purchase/transaction records, find customers who have bought both product A and product B at least once but never purchased product C; this is a set-membership/filtering task typically solved by grouping customers' purchases and selecting those whose product sets include A and B while excluding C.
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.