Sollicitatievraag bij Shutterfly

Remove duplications from an array/linkedlist

Antwoord op sollicitatievraag

Anoniem

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.