Domanda di colloquio di MathWorks

Question based on stream of integers Hash Set