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

Interview Question

Software Engineer Interview Redwood City, CA

Remove duplications from an array/linkedlist

Answer

Interview Answer

1 Answer

0

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.