Pergunta de entrevista da empresa Bloomberg

was asked to write code in any language to go through array and find duplicate integers.

Resposta da entrevista

Sigiloso

28 de jan. de 2016

If you need to return the just the duplicate numbers then use hash set. Otherwise use hash map if you need the indexes or frequency.