Citi Interview Question

The questions were pretty straightforward