Citi interview question

All expected