Deloitte interview question

Mostly inline with expectations.