Citi Interview Question

it was a standard interview