Citi interview question

Best idea