Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Monday, Dec 7.Claim the deal

A platform processes user account registrations in sequence. You are given three parallel lists of length n: names, emails, and phones, where index i describes a single account.

names[i] is part of the account record but is not used for duplicate detection. An account registers successfully only if neither its email nor its phone is already claimed by a previously registered account.

Accounts that fail registration are considered duplicates and do not affect subsequent uniqueness checks; their email and phone are not added to the registered pool.

Test Cases
Input
Output
Expected