Citi interview question

it was a standard interview