Capital One interview question

No unexpected