Domanda di colloquio di Bloomberg

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

Risposta di colloquio

Anonimo

28 gen 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.