Netflix·Software Engineer·Onsite - System Design / Architecture
- Implement a deduplication function for a 2D list representing a homepage feed (rows of horizontally scrolling content). The function should remove duplicate show names using both a global visited set across the whole page and a per-row local visited set, scanning top-to-bottom and left-to-right.
- How would you scale this deduplication system for production at Netflix scale? Consider things like Redis Bloom Filters, per-user vs global dedup, TTL on the visited set, and integration with the ranking layer.
“The two-level dedup structure clicked for me pretty quickly.”