Domanda di colloquio di Walmart Global Tech

get the max integer from infinite integer streams which is unique?