Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2084. Drop Type 1 Orders for Customers With Type 0 Orders
Given a list of orders labeled by customer and type (0 or 1), remove all type-1 orders for any customer who has at least one type-0 order and return the remaining orders in their original order; the core challenge is grouping by customer and efficiently filtering based on presence of type-0 orders.
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.