FIS interview question

solid principles