Capital One interview question

Doing a role play