Spectrum interview question

none too difficult or unexpected