Design DS for customer visits with k days and m distinct pages
Filed under Amazon
The question
Design a data structure to store large-scale customer visit logs and efficiently retrieve customers who visited on exactly k days and viewed at least m distinct pages.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.