Citi Interview Question

Basic programming concepts, nothing over the top