Citi interview question

technical problem