Shutterfly Interview Question: Remove duplications from an a... | Glassdoor

Interview Question

Software Engineer Interview Redwood City, CA

Remove duplications from an array/linkedlist


Interview Answer

1 Answer


Declared a results array; Used a HashMap to track values seen and only push un-seen values in the results array. Interviewer wanted me to use two while loops instead of a HashMap.

Interview Candidate on Feb 9, 2018

Add Answers or Comments

To comment on this, Sign In or Sign Up.