Citi Interview Question

Mostly straightforward interview