Citi interview question

Brain teaser