Illumina Interview Question

Algorithm question on two egg issue