Spectrum interview question

Real time Problem - Should be solved using distribution