Citi Interview Question

Oops concepts