Frage im Vorstellungsgespräch bei Shutterfly

Remove duplications from an array/linkedlist

Antwort im Vorstellungsgespräch

Anonym

10. Feb. 2018

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.