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.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.