Question d’entretien chez Shutterfly

Remove duplications from an array/linkedlist

Réponse à la question d'entretien

Utilisateur anonyme

10 févr. 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.