Citi interview question

Flexibility