Frage im Vorstellungsgespräch bei Walmart Global Tech

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