Capital One interview question

Typical Case Interview