Capital One interview question

Nothing too difficult