Citi interview question

Nothing unexpected