Capital One interview question

The whole process was just a study case