Capital One interview question

The case