Spectrum interview question

some behavioral to