Citi Interview Question

Nothing too difficult...