← Amazon questions

Find unique names in a large product file

Filed under Amazon

Given a list or stream of product names, find and return all unique names while removing duplicates. The optimal approach uses a hash table combined with a list or queue to preserve insertion order or…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.