Illumina interview question

Algorithm question on two egg issue