Pergunta de entrevista da empresa Shutterfly

Remove duplications from an array/linkedlist

Resposta da entrevista

Sigiloso

10 de fev. de 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.