Remitly Interview Question

Two sum stream of data