New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Airbnb
Coding Question
AI Insights
Quick Summary
Process accounts sequentially to identify those that conflict with previously successful registrations.
Rejected accounts do not update the pool of claimed contact information.
Return the zero-based indices of all duplicate accounts in ascending order.
What This Tests
Efficient membership testing using hash sets
Sequential state tracking across parallel input streams
Conditional branching based on accumulated history
Optimizing lookup and insertion operations for linear time complexity
Common Patterns
Hashing
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected