Coding · Easy
You have a list of 10 million email addresses and need to find the duplicates. Describe your approach, its time and memory cost, and what changes if the list doesn't fit in memory.
Trains: Choosing data structures and reasoning about cost
- 1. You answer
- 2. AI answers
- 3. Compare
- 4. Learn